What does this F# code look like in Erlang – Part 4 of N

Related Posts Part 1 Part 2 Part 3   Here I will look at how some commonly used functions in F#’s List module might be translated to Erlang using Erlang’s equivalent – the lists module.   List.append F#:         let newList = List.append [ 1..5 ] [ 6..10 ] Erlang:   NewList = lists:append([ 1, 2, 3, …

What does this F# code look like in Erlang – Part 4 of N Read More »

What does this F# code look like in Erlang – Part 3 of N

Related Posts Part 1 Part 2 Part 4   Throwing Exceptions In F#, you can define a custom exception type by creating a type that inherit from System.Exception or using the lightweight exception syntax to define them with the same syntax as discriminated unions. You can throw exceptions in F# using the raise keyword or …

What does this F# code look like in Erlang – Part 3 of N Read More »

Install Erlang on a Mac

To install Erlang on your Mac, follow these simple steps: download the latest source file from the official Erlang site here. open the Terminal go to the folder where you’ve saved the .gz source file run the following command: tar –xzf otp_src_R15B01.tar.gz (replace the filename with the name of the file you’ve downloaded) then go …

Install Erlang on a Mac Read More »

What does this F# code look like in Erlang – Part 1 of N

Brushing up on Erlang again having spent so much time with F# since I last looked at Erlang, it’s startling how much parallels I see between the two languages in terms of features and syntax, and I’m sure it’s no coincidence To help myself and other F# programmers who’re curious about Erlang get started more …

What does this F# code look like in Erlang – Part 1 of N Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close