3 ms·
import frege.prelude.Math (cos) cosines = iterate cos 1.0 pairsOf xs = zip xs (tail xs) head [ x | (x,y) <- pairsOf cosines, x == y] gave errors.
by jsgrahamusxxx 11y ago
import frege.prelude.Math (cos)
cosines = iterate cos 1.0
pairsOf xs = zip xs (tail xs)
head [ x | (x,y) <- pairsOf cosines, x == y]
gave errors.
- voxfrege 11y agoModule header is currently still mandatory.