I'm in a very similar situation to yours. Although we were unfortunately only 
taught F# in class ;)

I'm trying to appropriate a more functional style in nim. For the past couple 
of days I've been playing with zero_functional, but it does't seem to be very 
stable.

While I did manage to solve an advent of code challenge in a pure functional 
style using zero_functional, it gives me error in places i really wouldn't 
expect them.

For instance, this stupid simple snippet doesn't compile at all, and doesn't 
give an error when it fails either: 
    
    
    @[1,2,3] --> filter(it == 2)
    
    
    Run

This one won't compile either: 
    
    
    @[1,2,3] --> map(it * 2)
    
    Run

However, this one works just fine: 
    
    
    @[1,2,3] --> map((0, it * 2))
    
    Run

I _did_ manage to write a functioning program using it, but it seems to be 
incredibly hit-or-miss with what will operations will work with it.

The project seems really cool though. I hope it matures.

Reply via email to