mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-14 08:43:06 +03:00
709dc939ed
Instead of defaulting to `[n]` for some `n`, prefer instead to default to `Integer` or `Rational` depending on the other required constraints.
12 lines
401 B
Plaintext
12 lines
401 B
Plaintext
Loading module Cryptol
|
|
Loading module Cryptol
|
|
Loading module Main
|
|
[warning] at check02.cry:3:10--3:25:
|
|
Defaulting 1st type argument of 'Main::ones' to Integer
|
|
[warning] at <interactive>:1:9--1:18:
|
|
Defaulting type argument 'a' of 'fromTo' to Integer
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for 1st type argument of 'Main::ones'
|
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
|
|
True
|