# 1996 - [Ocaml][1]

Was waiting more than day to someone fill 1996, so I could fill in Ruby. Well why not learn OCaml then, seems similar to haskell...

#Hello world

    print_endline "OCaml was made in 1996!";;

#ASCII

    let ascii n =
      let rec ascii' = function
        | 0 -> ()
        | i ->
            let s = "N" ^ String.make (n-2) ' ' ^ "N" in
            String.fill s (n-i) 1 'N';
            print_endline s;
            ascii' (i-1)
      in ascii' n;;

Mutable strings!


#GCD

    let rec gcd a b = if b = 0 then a else gcd b (a mod b);;

No `==` and infix `mod`, that's cute


  [1]: http://en.wikipedia.org/wiki/OCaml