mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
17 lines
242 B
Idris
17 lines
242 B
Idris
module System.Info
|
|
|
|
%extern prim__os : String
|
|
%extern prim__codegen : String
|
|
|
|
export
|
|
os : String
|
|
os = prim__os
|
|
|
|
export
|
|
codegen : String
|
|
codegen = prim__codegen
|
|
|
|
export
|
|
isWindows : Bool
|
|
isWindows = os `elem` ["windows", "mingw32", "cygwin32"]
|