Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

67 lines (56 sloc) 1.346 kb
name: lens-examples
category: Data, Lenses
version: 0.1
license: BSD3
cabal-version: >= 1.8
license-file: LICENSE
author: nand
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/ekmett/lens/
bug-reports: http://github.com/ekmett/lens/issues
copyright: Copyright (C) 2012 Edward A. Kmett
synopsis: Lenses, Folds and Traversals
description: Pong Example
build-type: Simple
tested-with: GHC == 7.4.1
source-repository head
type: git
location: git://github.com/ekmett/lens.git
flag pong
default: True
flag brainfuck
default: True
executable lens-pong
if !flag(pong)
buildable: False
build-depends:
base,
containers >= 0.4 && < 0.6,
gloss == 1.7.*,
lens,
mtl >= 2.0.1 && < 2.2,
random == 1.0.*
main-is: Pong.hs
executable lens-brainfuck
if !flag(brainfuck)
buildable: False
build-depends:
base,
lens,
free >= 3.0,
bytestring,
mtl >= 2.0.1 && < 2.2,
streams >= 3.0
main-is: Brainfuck.hs
executable lens-brainfuck-final
if !flag(brainfuck)
buildable: False
build-depends:
base,
lens,
free >= 3.0,
bytestring,
mtl >= 2.0.1 && < 2.2,
streams >= 3.0
main-is: BrainfuckFinal.hs
Jump to Line
Something went wrong with that request. Please try again.