<smlckz>
What'd be the canonical/idiomatic way to write the following one off macro: {{ [32, 64].map do |size| "record ELF#{size}_Phdr, " + %w(type flags offset vaddr paddr filesz memsz flags align).map do |field| "#{field.id} : U#{size}" end.join ", " end.join "\n" }}
<smlckz>
Oh, I'm using an alias of UInt{{N}} as U{{N}}
<smlckz>
Nevermind, did away with macro in favor of generics
brycek has quit [Server closed connection]
brycek has joined #crystal-lang
wowi42 has quit [Server closed connection]
wowi42 has joined #crystal-lang
brw has quit [Read error: Connection reset by peer]