14 | module Literal.Prelude
16 | import public Literal
21 | stringLitImpl : StringLit String
22 | stringLitImpl = slPlain id
25 | charLitImpl : CharLit Char
26 | charLitImpl = clPlain id
29 | doubleLitImpl : DoubleLit Double
30 | doubleLitImpl = dlPlain id
33 | integerLitImpl : IntegerLit Integer
34 | integerLitImpl = ilPlain id
37 | intLitImpl : IntegerLit Int
38 | intLitImpl = ilPlain prim__cast_IntegerInt
41 | natLitImpl : IntegerLit Nat
42 | natLitImpl = ilPlain integerToNat
45 | bits8LitImpl : IntegerLit Bits8
46 | bits8LitImpl = ilPlain prim__cast_IntegerBits8
49 | bits16LitImpl : IntegerLit Bits16
50 | bits16LitImpl = ilPlain prim__cast_IntegerBits16
53 | bits32LitImpl : IntegerLit Bits32
54 | bits32LitImpl = ilPlain prim__cast_IntegerBits32
57 | bits64LitImpl : IntegerLit Bits64
58 | bits64LitImpl = ilPlain prim__cast_IntegerBits64
61 | int8LitImpl : IntegerLit Int8
62 | int8LitImpl = ilPlain prim__cast_IntegerInt8
65 | int16LitImpl : IntegerLit Int16
66 | int16LitImpl = ilPlain prim__cast_IntegerInt16
69 | int32LitImpl : IntegerLit Int32
70 | int32LitImpl = ilPlain prim__cast_IntegerInt32
73 | int64LitImpl : IntegerLit Int64
74 | int64LitImpl = ilPlain prim__cast_IntegerInt64