lean4-htt/tests/lean/curly_notation.lean.expected.out
Leonardo de Moura dfd2a23cd4 feat(frontends/lean): use #"c" instead of 'c' for character literals
The new notation is the same one used in Standard ML.
It will also allow us to use ' in the beginning of identifiers like Standard ML.
2016-11-17 11:35:54 -08:00

16 lines
345 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{1, 2, 3} : set
{1} : set
∅ : set
definition s1 : set :=
{1, 2 + 3, 3, 4}
definition s2 : set char :=
{#"a", #"b", #"c"}
definition s3 : set string :=
{"hello", "world"}
{a ∈ s1 | a > 1} : set
{a ∈ s1 | a > 1} : set
{a in s1 | a > 2} : set nat
{a, a} : set nat
{a, 1, a} : set nat
{a} : set nat
{a // a > 0} : Type