MeerKatDev

MeerKatDev

many times we do stuff like (e.g. test setups, json views in phoenix)

aaa = ...
bbb = ...
ccc = ...
%{aaa: aaa, bbb: bbb, ccc: ccc}

and would be cool to have a standard macro doing the same with

compact(aaa, bbb, ccc) # eventually compact_map / compact_keyword

Link to PHP compact method

I’m sorry if this is a duplicate, couldn’t find this in the forum.

Showing Posts 1 to 3

cmo

cmo

Yeah, it has come up previously and IIRC had mixed feedback.

There are libraries like shorter_maps, tiny_maps and others.

MeerKatDev

MeerKatDev OP

any way I could see the discussion? I’m curious

— All posts loaded —

Where Next? Top

Trending in Proposals: Ideas Top

woylie
We are seeing a lot of warning logs like this: navigate event to "https://someurl" failed because you are redirecting across live_sessio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews