Popularity
2.8
Declining
Activity
0.0
Stable
4
3
0
Monthly Downloads: 6
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
lambda-placeholders alternatives and similar packages
Based on the "language" category.
Alternatively, view lambda-placeholders alternatives based on common mentions on social networks and blogs.
-
unbound-generics
Specify variable binding in syntax trees using GHC.Generics (reimplementation of Unbound) -
language-conf
language-conf - .conf (e.g. nginx configuration) parsers and pretty-printers for the Haskell programming language.
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
Promo
www.influxdata.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of lambda-placeholders or a related project?
README
lambda-placeholders
lambda-placeholders is a Haskell library to emulate the placeholders feature of Scala.
Background
- Placeholders in Scala act similar to those used in category theory.
- Rather than create a lambda or name a function, an underscore is used in place of a parameter and the function is abstracted over that location.
- This placeholders library doesn't use underscores, rather it leverages similar capabilities found in TupleSections.
- A description of Scala placeholders can be found here.
Example
{-# LANGUAGE
TupleSections
#-}
module Main where
import Language.LambdaPlaceholders
foo (a,b,c) = a + b + c
curried_foo = foo.$.(2, , )
main = do
putStrLn $ show $ curried_foo 4 5