dave
10/28/2019, 6:05 AMRazi Kheir
10/28/2019, 6:14 AMdave
10/28/2019, 7:24 AMinvoke()
to get the value from the environment eg. val value = keyLens(env)
instead of env[keyLens]
, it will work as intended. TBH, the Map-like get()/set()
behaviour isn't actually documented anywhere as we expect people to always use invoke()
with lenses, but I'd like to get it working.Razi Kheir
10/29/2019, 2:26 AMdave
10/29/2019, 4:28 AM