ボム君.com

Masa's blog

今まで学んできたITスキルを主に。

2017-04-27から1日間の記事一覧

Programming: Parallel VS Concurrency

In functional programming, such as Erlang and Haskell could be better suited for answering question of what are the differences between Parallel and Concurrency programming. According to "Parallel and Concurrent Programming in Haskell", In…

Erlang: If-else

Very simple usage of If-Else Statement in Erlang Language -module(what_the_if). -export([heh_fine/0, oh_god/1, help_me/1]). %% should check if this actually works (hint: an error will be thrown) heh_fine() -> if 1 =:= 1 -> works end, if 1 …