Popularity
7.4
Stable
Activity
3.4
Growing
29
6
2

Monthly Downloads: 69
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Development    
Latest version: v0.2

foreign-store alternatives and similar packages

Based on the "Development" category.
Alternatively, view foreign-store alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of foreign-store or a related project?

Add another 'Development' Package

README

foreign-store Hackage

Store a stable pointer in a foreign context to be retrieved later. Persists through GHCi reloads.

Example:

$ cabal repl
> store <- newStore ((*2) :: Int -> Int)
> store
Store 0
> :l Foreign.Store
Ok, modules loaded: Foreign.Store.
> store
<interactive>:5:1: Not in scope: `store'
> Just store <- lookupStore 0 :: IO (Maybe (Store (Int -> Int)))
> f <- readStore store
> print (f 6)
12
>