mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 14:23:32 +03:00
21 lines
261 B
Idris
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
|