Skip to content

Instantly share code, notes, and snippets.

View excieve's full-sized avatar

Artem Hluvchynskyi excieve

View GitHub Profile
fun({Doc}) ->
{Step0} = proplists:get_value(<<"step_0">>, Doc, {nil}),
{Step1} = proplists:get_value(<<"step_1">>, Doc, {nil}),
case proplists:get_value(<<"declarationType">>, Step0, nil) of
<<"1">> ->
Id = proplists:get_value(<<"_id">>, Doc),
Lastname = proplists:get_value(<<"lastname">>, Step1),
Firstname = proplists:get_value(<<"firstname">>, Step1),
Middlename = proplists:get_value(<<"middlename">>, Step1),
Result = {[

Keybase proof

I hereby claim:

  • I am excieve on github.
  • I am excieve (https://keybase.io/excieve) on keybase.
  • I have a public key whose fingerprint is 8351 BEC1 3E1D 47B3 5016 9F84 8A85 C1FD 1E73 7FBB

To claim this, I am signing this object: