cryptol/tests/issues/issue268.cry
Rob Dockins 620e62c8e3 Remove all defaulting, except for literals.
Fix up the test suite.  This mostly delays defaulting
warnings into "showing specific instance of polymorpic
type warnings", but requires actual fixes in a small number
of places.  Those places were higly questionable, in my opinion.
2020-07-02 14:56:27 -07:00

9 lines
193 B
Plaintext

xs : [10]([8],[8])
xs = take `{10} zs
where
zs : [inf]([8],[8])
zs = [(0,0)] # [ (0, z) | (z,_) <- drop `{1} zs]
vs : [10]([8],[8])
vs = take `{10} zs where zs = [ (0, z) | (z,_) <- zs]