2019-10-17から1日間の記事一覧
OTP 17.0 から maps モジュールが追加された。一通り試す。 公式URL:http://erlang.org/doc/man/maps.html filter/2 関数 filter(Pred, MapOrIter) -> Map Types Pred = fun((Key, Value) -> boolean()) MapOrIter = #{Key => Value} | iterator(Key, Value…
OTP 17.0 から maps モジュールが追加された。一通り試す。 公式URL:http://erlang.org/doc/man/maps.html filter/2 関数 filter(Pred, MapOrIter) -> Map Types Pred = fun((Key, Value) -> boolean()) MapOrIter = #{Key => Value} | iterator(Key, Value…