sundaysebasidian-byte/moondmn/feel/types does not have a README file
pub(all) struct Date {
year : Int
month : Int
day : Int
}pub(all) struct DurationDS {
negative : Bool
days : Int64
nanos : Int64
}fn DurationDS::canonical(negative : Bool, days : Int64, nanos : Int64) -> DurationDS raise EngineErrorpub(all) struct DurationYM {
negative : Bool
years : Int
months : Int
}fn DurationYM::canonical(negative : Bool, years : Int, months : Int) -> DurationYM raise EngineErrorpub(all) struct FunctionValue {
name : String
params : Array[String]
callback : (Array[Value]) -> Value raise EngineError
}pub(all) enum Value {
Null
Boolean(Bool)
Number(Decimal)
Text(String)
Date(Date)
Time(Time)
DateTime(DateTime)
DaysSeconds(DurationDS)
YearsMonths(DurationYM)
List(Array[Value])
Context(Map[String, Value])
Range(Range)
Function(FunctionValue)
}pub(all) enum Zone {
Unzoned
Fixed(Int)
Named(String)
}fn days_from_civil(year : Int, month : Int, day : Int) -> Int64fn days_in_month(year : Int, month : Int) -> Intfn make_time(hour : Int, minute : Int, second : Int, nanos : Int, zone : Zone) -> Time raise EngineErrorInstall
Download zipExperimental exact-decimal FEEL and DMN interpreter