mirror of
https://github.com/ilyakooo0/elm-bridge.git
synced 2024-08-17 09:50:43 +03:00
Support Int32 and Int64
This commit is contained in:
parent
74f78ce8d4
commit
04991c3528
@ -123,7 +123,9 @@ defaultTypeAlterations t = case t of
|
|||||||
ETyApp (ETyApp (ETyCon (ETCon "Tagged")) _) v -> defaultTypeAlterations v
|
ETyApp (ETyApp (ETyCon (ETCon "Tagged")) _) v -> defaultTypeAlterations v
|
||||||
ETyApp x y -> ETyApp (defaultTypeAlterations x) (defaultTypeAlterations y)
|
ETyApp x y -> ETyApp (defaultTypeAlterations x) (defaultTypeAlterations y)
|
||||||
ETyCon (ETCon "Integer") -> int
|
ETyCon (ETCon "Integer") -> int
|
||||||
ETyCon (ETCon "Natural") -> tc "Int"
|
ETyCon (ETCon "Natural") -> int
|
||||||
|
ETyCon (ETCon "Int32") -> int
|
||||||
|
ETyCon (ETCon "Int64") -> int
|
||||||
ETyCon (ETCon "Text") -> tc "String"
|
ETyCon (ETCon "Text") -> tc "String"
|
||||||
ETyCon (ETCon "Vector") -> tc "List"
|
ETyCon (ETCon "Vector") -> tc "List"
|
||||||
ETyCon (ETCon "Double") -> tc "Float"
|
ETyCon (ETCon "Double") -> tc "Float"
|
||||||
|
Loading…
Reference in New Issue
Block a user