{ "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag","sensitive":"as:sensitive"}, {"toot":"http://joinmastodon.org/ns#","focalPoint":"toot:focalPoint"} ], "published":"2025-11-12T20:16:39.558Z", "attributedTo":"https://epiktistes.com/actors/toddsundsted", "replies":"https://epiktistes.com/objects/ntoWmCBKR04/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://epiktistes.com/actors/toddsundsted/followers"], "content":"

TIL

The (the Unicode ellipsis character) works as both a Crystal Language macro and method name, as in:

macro …(str, n)\n  Ktistec::Util.render_as_text_and_truncate({{str}}, {{n}})\nend

Which can be used in a view template as:

= … preview, 120

I'm not saying you should. I'm saying you can.

#crystallang #til

", "contentMap":{ "en-US":"

TIL

The (the Unicode ellipsis character) works as both a Crystal Language macro and method name, as in:

macro …(str, n)\n  Ktistec::Util.render_as_text_and_truncate({{str}}, {{n}})\nend

Which can be used in a view template as:

= … preview, 120

I'm not saying you should. I'm saying you can.

#crystallang #til

" }, "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Hashtag","name":"#crystallang","href":"https://epiktistes.com/tags/crystallang"}, {"type":"Hashtag","name":"#til","href":"https://epiktistes.com/tags/til"} ], "type":"Note", "id":"https://epiktistes.com/objects/UhhUAi0NTk4" }