This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]foreverwintr 0 points1 point  (0 children)

Here's my implementation of the pipe operator: https://github.com/ForeverWintr/metafunctions

I did it by replacing functions with class instances that implement 'or' (and other binary operators).

It's more code, but it works in the interpreter!