Skip to content Skip to sidebar Skip to footer
Showing posts with the label Haskell

Is There A Python Equivalent Of The Haskell 'let'

Is there a Python equivalent of the Haskell 'let' expression that would allow me to write s… Read more Is There A Python Equivalent Of The Haskell 'let'

Clean And Type-safe State Machine Implementation In A Statically Typed Language?

I implemented a simple state machine in Python: import time def a(): print 'a()' r… Read more Clean And Type-safe State Machine Implementation In A Statically Typed Language?

Python Equivalent Of Haskell's [1..] (to Index A List)

I have a list of elements in python. I don't know the number of elements in the list. I would l… Read more Python Equivalent Of Haskell's [1..] (to Index A List)