Popularity
2.9
Declining
Activity
0.0
Stable
4
3
0
Monthly Downloads: 8
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) -
WebBits
An updated webbits is available at https://github.com/jswebtools/language-ecmascript -
imperative-edsl
Deep embedding of imperative programs with code generation -
language-conf
language-conf - .conf (e.g. nginx configuration) parsers and pretty-printers for the Haskell programming language. -
hermit-syb
HERMIT plugin for optimizing Scrap-Your-Boilerplate traversals. -
bond-haskell-compiler
Bond code generator for Haskell
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.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