Skip to content

Instantly share code, notes, and snippets.

@danielwertheim
Created August 12, 2013 12:45
Show Gist options
  • Save danielwertheim/6210530 to your computer and use it in GitHub Desktop.
Save danielwertheim/6210530 to your computer and use it in GitHub Desktop.
Reading a book "Introducing Erlang". Simple comparison of a sample in there. Erlang vs C# in ScriptCS.
Func<double, double> fallVelocity = distance => System.Math.Sqrt(2 * 9.8 * distance);
FallVelocity = fun(Distance) -> math:sqrt(2 * 9.8 * Distance) end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment