 
      
    | You are here | golangbot.com | ||
| | | | | ashishvegaraju.com | |
| | | | | In my last article about Functional domain modeling, I explored the expressiveness of F# in modeling a domain. I fell in love with the simplicity and expressiveness of the language. In this article I will attempt to explore function purity in F#. In F#, functions are first class citizens because it allows to pass function as an argument to other function, return a function or assign function to a variable. Initially I found it a bit hard to wrap my head around the concept of treating functions as first class citizens. In fact one of the biggest challenge for me was surprisingly not the weird syntax of F#, but to think in terms of functions. | |
| | | | | www.baturin.org | |
| | | | | ||
| | | | | www.alexedwards.net | |
| | | | | ||
| | | | | danielmangum.com | |
| | | This is part of a series on the blog where we explore RISC-V by breaking down real programs and explaining how they work. You can view all posts in this series on the RISC-V Bytes page. So far in this series, we have been looking at the assembly generated when compiling relatively simple programs. At this point, we have seen instructions that perform a wide variety of operations. Let's take another look at our minimal example from the Passing on the Stack post: | ||