cryptol/tests/issues/issue290v2.cry
Robert Dockins b6a83d7cb8 Make a friendlier, non-panic error message for cases where patterns
introduce nontrivial constraints.

Fixes #290
2016-05-04 17:38:16 -07:00

3 lines
67 B
Plaintext

minMax : {n, a} (fin n, Cmp a) => [n]a -> (a,a)
minMax [x] = (x,x)