Skip to content

Instantly share code, notes, and snippets.

@bbhoss
Created September 16, 2015 03:48
Show Gist options
  • Save bbhoss/f6fd73f7d5d4e0232da0 to your computer and use it in GitHub Desktop.
Save bbhoss/f6fd73f7d5d4e0232da0 to your computer and use it in GitHub Desktop.
-module(erl_list).
-export([hello_pp/0]).
-export([hello_pipe/0]).
hello_pp() ->
List1 = [1,2,3,4,5],
List2 = [1,2,3,4,5],
List1 ++ List2.
hello_pipe() ->
List1 = [1,2,3,4,5],
List2 = [1,2,3,4,5],
[List1 | List2].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment