ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
hovsater has quit [Server closed connection]
hovsater has joined #crystal-lang
notzmv has quit [Ping timeout: 248 seconds]
smlckz has joined #crystal-lang
<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]
brw has joined #crystal-lang
rez has joined #crystal-lang
rez has quit [Quit: much snoozes...]