Home

Awesome

<h1 align="center"> Concur </h1> <p align="center"> <img src="docs/logo.png" height="100"> </p> <p align="center"> <a href="https://gitter.im/concurhaskell" rel="nofollow"> <img src="https://camo.githubusercontent.com/9fb4e2dde684214e7454d930a369f97190d1ecf2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769747465722d6a6f696e253230636861742532302545322538362541332d626c75652e737667" alt="Join the chat at https://gitter.im/concurhaskell" data-canonical-src="https://img.shields.io/badge/gitter-join%20chat%20%E2%86%A3-blue.svg" style="max-width:100%;"> </a> <a href="https://www.reddit.com/r/concurhaskell/" rel="nofollow"> <img src="https://img.shields.io/badge/reddit-join%20the%20discussion%20%E2%86%A3-1158c2.svg" alt="Join the chat at https://gitter.im/concurhaskell" style="max-width:100%;"> </a> </p>

A brand new client side Web UI framework for Haskell that explores an entirely new paradigm. It does not follow FRP (think Reflex or Reactive Banana), or Elm architecture, but aims to combine the best parts of both.

Documentation

Work in progress tutorials are published in the Concur Documentation site

Installation

It has three backends -

  1. React based, called concur-react. You can use the Concur-React Quickstart Template to quickly get started.

    An example of using Native React Widgets is here - Drag Drop Sortable List Widget (React) - Demo - Demonstrates Concur binding to React-Sortable-Tree.

  2. Virtual-Dom based, called concur-vdom. (Bitrotten). You can use the Concur-Vdom Quickstart Template to quickly get started.

  3. Replica (i.e. remote virtual-dom) based, called concur-replica. Created and maintained by pkamenarsky. Head to its project page for more information.

Performance

Access some performance benchmarks here - https://ajnsit.github.io/concur-benchmarks/

Ports to other languages

Concur's model translates well to other platforms.

  1. Concur for Purescript - An official port to Purescript which is well maintained.
  2. Concur for Javascript - An official but experimental port to Javascript.
  3. Concur for Python - An unofficial and experimental port to Python. Uses ImgUI for graphics. Created and Maintained by potocpav.

Examples

  1. Click Counting Example - Demo - Count total number of clicks on the page, with a button that increments the click count by 10, and also autoincrement clicks every second.
  2. TodoMVC Example - Demo - The canonical TodoMVC example, with views modeled after the one in Elm.
  3. Mario Example - Demo - Port of the Mario example from Elm.
  4. High/Low Game (Virtual-dom) - Demo - An extremely simple number guessing game in 15 lines of code.
  5. High/Low Game (React) - Demo - The same HiLo game, using the React backend.
  6. Kirby Super Star Ultra Splits Timer GUI Challange - Demo - Concur implementation of the KSSU Splits Timer GUI Challenge. Shows a moderately complex UI that's not a todolist!
  7. Menu Widget (React) - Demo - Builds a generic menu widget in 10 lines of code.
  8. Drag Drop Sortable List Widget (React) - Demo - Demonstrates Concur binding to React-Sortable-Tree. A good example of reusing existing React components in Concur.
  9. Your first 8 Concur Pipes Widgets (React) - Demo - Your first 8 Concur Pipe programs! Inspired from the mighty Fudgets' - http://www.altocumulus.org/Fudgets/Intro/