mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +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
|