package catala

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Runtime.OperSource

Sourceval o_not : bool -> bool
Sourceval o_length : 'a array -> integer
Sourceval o_torat_int : integer -> decimal
Sourceval o_torat_mon : money -> decimal
Sourceval o_tomoney_rat : decimal -> money
Sourceval o_getDay : date -> integer
Sourceval o_getMonth : date -> integer
Sourceval o_getYear : date -> integer
Sourceval o_firstDayOfMonth : date -> date
Sourceval o_lastDayOfMonth : date -> date
Sourceval o_round_mon : money -> money
Sourceval o_round_rat : decimal -> decimal
Sourceval o_minus_int : integer -> integer
Sourceval o_minus_rat : decimal -> decimal
Sourceval o_minus_mon : money -> money
Sourceval o_minus_dur : duration -> duration
Sourceval o_and : bool -> bool -> bool
Sourceval o_or : bool -> bool -> bool
Sourceval o_xor : bool -> bool -> bool
Sourceval o_eq : 'a -> 'a -> bool
Sourceval o_map : ('a -> 'b) -> 'a array -> 'b array
Sourceval o_map2 : source_position -> ('a -> 'b -> 'c) -> 'a array -> 'b array -> 'c array
  • raises [NotSameLength]
Sourceval o_reduce : ('a -> 'a -> 'a) -> 'a -> 'a array -> 'a
Sourceval o_concat : 'a array -> 'a array -> 'a array
Sourceval o_filter : ('a -> bool) -> 'a array -> 'a array
Sourceval o_add_int_int : integer -> integer -> integer
Sourceval o_add_rat_rat : decimal -> decimal -> decimal
Sourceval o_add_mon_mon : money -> money -> money
Sourceval o_add_dat_dur : date_rounding -> date -> duration -> date
Sourceval o_add_dur_dur : duration -> duration -> duration
Sourceval o_sub_int_int : integer -> integer -> integer
Sourceval o_sub_rat_rat : decimal -> decimal -> decimal
Sourceval o_sub_mon_mon : money -> money -> money
Sourceval o_sub_dat_dat : date -> date -> duration
Sourceval o_sub_dat_dur : date -> duration -> date
Sourceval o_sub_dur_dur : duration -> duration -> duration
Sourceval o_mult_int_int : integer -> integer -> integer
Sourceval o_mult_rat_rat : decimal -> decimal -> decimal
Sourceval o_mult_mon_rat : money -> decimal -> money
Sourceval o_mult_dur_int : duration -> integer -> duration
Sourceval o_div_int_int : source_position -> integer -> integer -> decimal
Sourceval o_div_rat_rat : source_position -> decimal -> decimal -> decimal
Sourceval o_div_mon_mon : source_position -> money -> money -> decimal
Sourceval o_div_mon_rat : source_position -> money -> decimal -> money
Sourceval o_div_dur_dur : source_position -> duration -> duration -> decimal
Sourceval o_lt_int_int : integer -> integer -> bool
Sourceval o_lt_rat_rat : decimal -> decimal -> bool
Sourceval o_lt_mon_mon : money -> money -> bool
Sourceval o_lt_dur_dur : source_position -> duration -> duration -> bool
Sourceval o_lt_dat_dat : date -> date -> bool
Sourceval o_lte_int_int : integer -> integer -> bool
Sourceval o_lte_rat_rat : decimal -> decimal -> bool
Sourceval o_lte_mon_mon : money -> money -> bool
Sourceval o_lte_dur_dur : source_position -> duration -> duration -> bool
Sourceval o_lte_dat_dat : date -> date -> bool
Sourceval o_gt_int_int : integer -> integer -> bool
Sourceval o_gt_rat_rat : decimal -> decimal -> bool
Sourceval o_gt_mon_mon : money -> money -> bool
Sourceval o_gt_dur_dur : source_position -> duration -> duration -> bool
Sourceval o_gt_dat_dat : date -> date -> bool
Sourceval o_gte_int_int : integer -> integer -> bool
Sourceval o_gte_rat_rat : decimal -> decimal -> bool
Sourceval o_gte_mon_mon : money -> money -> bool
Sourceval o_gte_dur_dur : source_position -> duration -> duration -> bool
Sourceval o_gte_dat_dat : date -> date -> bool
Sourceval o_eq_int_int : integer -> integer -> bool
Sourceval o_eq_rat_rat : decimal -> decimal -> bool
Sourceval o_eq_mon_mon : money -> money -> bool
Sourceval o_eq_dur_dur : source_position -> duration -> duration -> bool
Sourceval o_eq_dat_dat : date -> date -> bool
Sourceval o_fold : ('a -> 'b -> 'a) -> 'a -> 'b array -> 'a
OCaml

Innovation. Community. Security.