{"id":13508550,"url":"https://github.com/vic/pipe_here","last_synced_at":"2025-03-16T14:30:55.596Z","repository":{"id":57533638,"uuid":"50121059","full_name":"vic/pipe_here","owner":"vic","description":"An Elixir macro for easily piping arguments at any position.","archived":false,"fork":false,"pushed_at":"2017-02-20T22:54:47.000Z","size":11,"stargazers_count":34,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-27T10:35:30.363Z","etag":null,"topics":["elixir","macros","pipe"],"latest_commit_sha":null,"homepage":"http://hex.pm/packages/pipe_here","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-21T16:37:46.000Z","updated_at":"2023-09-01T11:26:34.000Z","dependencies_parsed_at":"2022-09-26T18:21:06.380Z","dependency_job_id":null,"html_url":"https://github.com/vic/pipe_here","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fpipe_here","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fpipe_here/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fpipe_here/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fpipe_here/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vic","download_url":"https://codeload.github.com/vic/pipe_here/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818195,"owners_count":20352629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","macros","pipe"],"created_at":"2024-08-01T02:00:54.653Z","updated_at":"2025-03-16T14:30:55.230Z","avatar_url":"https://github.com/vic.png","language":"Elixir","funding_links":[],"categories":["Macros"],"sub_categories":[],"readme":"# PipeHere \u003ca href=\"https://travis-ci.org/vic/pipe_here\"\u003e\u003cimg src=\"https://travis-ci.org/vic/pipe_here.svg\"\u003e\u003c/a\u003e\n[![help maintain this lib](https://img.shields.io/badge/looking%20for%20maintainer-DM%20%40vborja-663399.svg)](https://twitter.com/vborja)\n\n\nAn Elixir macro for easily piping arguments at any position.\n\n## Usage\n\n```elixir\nimport PipeHere\n```\n\nThe `pipe_here` macro lets you specify the argument position\nwhile piping values by using the `_` placeholder.\n\nFor example:\n\n```elixir\npipe_here( 2 |\u003e x(1, _, 3) )\n\n# expands to\n\nx(1, 2, 3)\n```\n\nThe `pipe_here` macro can also be used at the end of a pipe:\n\n```elixir\n2 |\u003e x(1, _, 3) |\u003e pipe_here\n```\n\nNote that while you can do stuff like:\n\n```elixir\na |\u003e b(1, _) |\u003e c |\u003e d.(2, _, 3) |\u003e pipe_here\n```\n\nevery member of the pipe can at most have just one `_` placeholder.\n\n\n## Installation\n\n[Available in Hex](https://hex.pm/packages/pipe_here), the package can be installed as:\n\n  1. Add pipe_here to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:pipe_here, \"~\u003e 1.0.0\"}]\nend\n```\n\n## Is it any good?\n\n[Yes](https://news.ycombinator.com/item?id=3067434)\n\n##### マクロス Makurosu\n\n[[Elixir macros](https://github.com/h4cc/awesome-elixir#macros),] The things I do for beautiful code\n― George Martin, Game of Thrones\n\n[#myelixirstatus](https://twitter.com/hashtag/myelixirstatus?src=hash)\n[#FridayLiterally](http://futurice.com/blog/friday-literally)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Fpipe_here","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvic%2Fpipe_here","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Fpipe_here/lists"}