Skip to content

Instantly share code, notes, and snippets.

@duplode
duplode / InputElement.hs
Last active December 22, 2015 17:29 — forked from HeinrichApfelmus/InputElement.hs
(Obsolete) variation of Apfelmus' example of a widget following the principles proposed in http://apfelmus.nfshost.com/blog/2012/03/29-frp-three-principles-bidirectional-gui.html .
{-# LANGUAGE RecordWildCards #-}
module InputElement where
import Data.Monoid
import Control.Monad
import qualified Graphics.UI.Threepenny as UI
import Graphics.UI.Threepenny