### CyberSpy

Rantings from a guy with way too much free time

### Pathocaml - Getting Wacky with Functions And Polymorphism

How many ways can we get Fun(ky) In any programming paradigm, it’s critical to understand how we write functions - be they traditional imperative , anonymous , recursive, or functional. In this post, I will break down the different types of functions that you can write in OCaml. Let’s start by examining the imperative function. Here’s a simple function that prints out the phrase Hello World! $n$ times, once on each line, and returns the value $n$ as its result. Continue reading