Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (24 sloc) 627 Bytes

Vodka

It is a tiny parse transform.

License: MIT

Author: Uvarov Michael (freeakk@gmail.com)

Build Status

Setters

Rec#rec{FieldName = FieldValue}

Getters

get_multi_field(K1, K2, K3, A) ->
    #rec{K1 = V} = #rec{K2 = V} = A#rec{K3 = updated},
    V.

get_nested_field(K1, A) ->
   [#rec{K1 = V}] = A,
   V.

Problems

It does not work with query comprehensions.

Jump to Line
Something went wrong with that request. Please try again.