Popularity
4.8
Growing
Activity
1.6
-
12
3
0

Monthly Downloads: 19
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: ACME    
Latest version: v1.1.1.0

acme-smuggler alternatives and similar packages

Based on the "ACME" category.
Alternatively, view acme-smuggler alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of acme-smuggler or a related project?

Add another 'ACME' Package

README

ACME Smuggler

The () type has only one value, also called () with no internal structure.

Nevertheless, acme-smuggler allows you to smuggle arbitrary values into () and discover them later.

And! Void has no values at all, but acme-smuggler lets you smuggle values into Void. Or into any other Haskell type.

> x = smuggle "hello"
> :t x
x :: ()

> y = smuggle (7 :: Integer)
> :t y
y :: ()

> discover x :: Maybe String
Just "hello"
> discover y :: Maybe Integer
Just 7
> discover x :: Maybe Integer
Nothing

Here are slides for a short talk that I gave at the London Haskell User Group: http://www.hawaga.org.uk/ben/tech/london-hug-acme-smuggler/presentation.html and my original blog post: http://benctechnicalblog.blogspot.com/2016/11/smuggling-things-in-dirty-bottom.html