mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 18:58:24 +03:00
12 lines
335 B
Plaintext
12 lines
335 B
Plaintext
module [TypeId, typeIDfromU64, typeIDtoU64]
|
|
|
|
TypeId := U64 implements [Eq, Hash, Inspect, Encoding]
|
|
|
|
# renamed here so we can import the functions directly as a workaround for
|
|
# https://github.com/roc-lang/roc/issues/5477
|
|
typeIDtoU64 : TypeId -> U64
|
|
typeIDtoU64 = \@TypeId x -> x
|
|
|
|
typeIDfromU64 : U64 -> TypeId
|
|
typeIDfromU64 = @TypeId
|