Better HN
topnewbestaskshowjobs
Log inSign up

justjust

3 karma · joined Feb 14, 2024 (2y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

Your code is very limited. Blocks allow you to return any type of object or to have any kind of side effects, the result is not limited to be an IO monad. Also in Haskell you can't use variable number of arguments and the syntax is very different (curry by default of first argument), so no way to translate haskell style to ruby.

comment 2y ago · link · parent

It seems a similar idea would be to adjust a linear model to a sequence of points and just maintain those that are outliers and other two that are end points on the linear model.