Sharedsupport / 2018-04-07-135022.ipynbOpen in CoCalc
Author: William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
In [1]:
2+3
5
In [2]:
primesTo m = eratos [2..m] where eratos [] = [] eratos (p:xs) = p : eratos (xs `minus` [p, p+p..])
<interactive>:4:36: error: Variable not in scope: minus :: [a1] -> [a1] -> [a1]
In [ ]: