Description: My personal adventures in the functional programming space.
programming (8569) git (1431) functional (467) elixir (238)
Learning to do it the functional way
If you’re writing code, you are almost certain to be using git. One of the awesome features of git is the ability to add your own aliases to help save a few keystrokes, or even add some slick functionality. Well, here a few aliases that are pretty slick. Check’em out.
Recently discovered that the elixr api has a List.wrap function. This function does exactly as you might think, it wraps a term in a list. I often find myself needing to take in a single argument as an integer, a float, string, etc and wraping it in a list.