when Num.toDec(some_string) is
Ok val -> Dict.insert some_dict ( Dec val ) # this is crashing I need to use normal float instead
-> after some investigation I am not sure what is exact problem, but definitely I am getting crashes
-> ok I messed up types of variables, and pattern matching as well, when I make it right it works.
-> it seems like Num.floor does not work properly with Dec type
Can you file an issue for Num.floor on Dec. I would guess it is a bug.
unfortunately I refactored code already, usually when I touch problem I overcome it by tweaking the code which is a shame. Maybe I will start to store my findings in separate directory and later when I have some time I will upload them
Last updated: Jul 06 2025 at 12:14 UTC