mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +03:00
3063218d46
This is (for once) not a breaking changes, instead backends will need to opt in to this change, using the utilities in Compiler.NoMangle. See the js backend for an example of how to do this. This is the first step to being able to use idris to create libraries usable by other languages.
8 lines
81 B
Idris
8 lines
81 B
Idris
|
|
%nomangle
|
|
continue : Int -> Int
|
|
continue x = x + 1
|
|
|
|
main : IO ()
|
|
main = pure ()
|