1
1
mirror of https://github.com/GaloisInc/cryptol.git synced 2024-12-17 13:01:31 +03:00
cryptol/tests/issues/issue290v2.cry
Robert Dockins b6a83d7cb8 Make a friendlier, non-panic error message for cases where patterns
introduce nontrivial constraints.

Fixes 
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)