showell / meta-elm / MeInt

helper module for Int types

conversion

init : Basics.Int -> MeType.Expr

turn raw Int into an Expr

toInt : MeType.Expr -> Result String Basics.Int

convert Expr to raw Int (if types match)

expression

eq : MeType.Expr

wraps == for ints

toFloat : MeType.Expr

wraps Basics.toFloat

modBy : MeType.Expr

wraps modBy