rebindable: A library to facilitate rebinding of Haskell syntax

[ library, mit, syntax ] [ Propose Tags ]
Versions 0.1.0, 0.1.1, 0.1.2
Dependencies base (>=4.9 && <5), data‑default‑class, indexed [details]
License MIT
Author Sean Lee
Maintainer Sean Lee <>
Category Syntax
Home page
Bug tracker
Source repo head: git clone
Uploaded by sleexyz at Sun Nov 20 09:51:02 UTC 2016
Distributions NixOS:0.1.2
Downloads 518 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

A library to facilitate rebinding of Haskell syntax

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for rebindable-0.1.2

[back to package description]


Hackage Status

A library to facilitate rebinding of syntax.


{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}

module Example where

import Control.Monad.Indexed
import Control.Monad.Indexed.State
import Control.Monad.Indexed.Trans
import Control.Monad.IO.Class
import Prelude

import qualified Language.Haskell.Rebindable as Use
import Data.Default

foo :: IxStateT IO String Int ()
foo = let Use.IxMonad{..} = def in do
  ilift . liftIO . print =<< iget

  imodify (length)
  ilift . liftIO . print =<< iget