🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/5paceToast/pipe

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/5paceToast/pipe

v0.1.1
Source
Go
Version published
Created
Source

Pipe

license

A pipe operator for nim, as seen in functional languages.

Origins

I was looking for a good old |> to use in nim. I found this. It sucked. It wasn't published. It used "example" in its description.

So I decided to write my own, with blackjack and hookers.

Examples

Please take a look in tests/test.nim for examples, but here's a tl;dr:

1 |> `+`(2) |> foo
# is equivalent to
foo(1+2)

FAQs

Package last updated on 26 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts