Idris2/tests/idris2/interpolation004/StringLiteral.idr
2021-10-21 16:00:50 +01:00

21 lines
261 B
Idris

module StringLiteral
Str : String
Str = """
First line
Third line
"""
Str2NL : String
Str2NL = "First line\n\nThird line"
sss : Str === Str2NL
sss = Refl
Str1NL : String
Str1NL = "First line\nThird line"
sss' : (Str == Str1NL) === False
sss' = Refl