Skip to content

Sample Haskell apps for the purpose of demonstrating the Clovyr Code Haskell development environment

Notifications You must be signed in to change notification settings

clovyr/haskell-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

About Clovyr Code

Clovyr Code delivers full-featured VSCode in the browser, connected directly to any public or private git repository.

Learn more and try it out at clovyr.app/code

Tip: Use CTRL+` to show/hide the terminal, and CTRL+SHIFT+5 to open a new terminal. More shortcuts

Clovyr Code Haskell examples

This repository includes a sample Haskell app for the purpose of demonstrating the Clovyr Code Haskell development environment.

TodoMVC is a project which offers the same Todo application implemented in several popular programming languages.

Running the examples

  1. Navigate to one of the example directories:
    cd ~/git/github.com/clovyr/haskell-example/examples/todomvc
  2. Install dependencies
    nix-build -E '(import dep/reflex-platform {}).ghcjs.callPackage ./. {}'
  3. Run the server
    cd result/bin/reflex-todomvc.jsexe && python3 -m http.server 8080
  4. In a new browser tab, enter the url of your Clovyr Code instance prefixed by 8080-
    • The URL for your instance is found in the green bar at the bottom of the application space
    • For example, if your Code environment is https://happy-otter.wnext.app, the served application is at https://8080-happy-otter.wnext.app.
  5. To stop the server, enter CTRL+C in the terminal where the program was invoked

Documentation

Find more documentation at https://help.clovyr.io.

About

Sample Haskell apps for the purpose of demonstrating the Clovyr Code Haskell development environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published