How to write a function in OCaml, that accepts two lists and returns the Boolean value "true", if the two input lists are anagrams.
I'm pretty new to OCaml and I would love to learn more.
The compiler would then tell me something like this, after I'd evaluate the code:
# anagram ([1;2;4;7] , [2;4;7;9]) ;;
- : bool = false