GithubHelp home page GithubHelp logo

reflex-frp / reflex-todomvc Goto Github PK

View Code? Open in Web Editor NEW
32.0 35.0 26.0 113 KB

Reflex FRP is a composable, cross-platform functional reactive programming framework for Haskell. It allows you to build interactive components in pure functional style, working in harmony with established Haskell techniques and improving the quality and elegance of your applications.

Home Page: https://reflex-frp.org

License: BSD 3-Clause "New" or "Revised" License

Nix 8.20% CSS 21.73% Haskell 59.15% Swift 10.41% Objective-C 0.51%
reflex-frp haskell functional-reactive-programming frp reactive

reflex-todomvc's Introduction

reflex-todomvc's People

Contributors

414owen avatar ali-abrar avatar chrbauer avatar dmjio avatar emmanueltouzery avatar ericson2314 avatar hamishmack avatar jeffreyrosenbluth avatar k-bx avatar luigy avatar mightybyte avatar mostalive avatar oliver-batchelor avatar ryantrinkle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reflex-todomvc's Issues

Could not find module ‘GHCJS.DOM.Element’

OS: Mac OS X

Steps to reproduce:

  • checkout "try-reflex" to develop branch
  • ./try-reflex
  • checkout reflex-todomvc at develop branch
  • cd ../reflex-todomvc
  • cabal build
[nix-shell:~/workspace/reflex-todomvc]$ cabal build
Building reflex-todomvc-0.1...
Preprocessing library reflex-todomvc-0.1...

src/Reflex/TodoMVC.hs:6:8:
    Could not find module ‘GHCJS.DOM.Element’
    Perhaps you haven't installed the "js_p" libraries for package ‘ghcjs-dom-0.1.1.3@ghcjs_5KR2G57UB1kIpNcQbyzTYs’?
    Use -v to see a list of the files searched for.

src/Reflex/TodoMVC.hs:14:8:
    Could not find module ‘Data.FileEmbed’
    Perhaps you haven't installed the "js_p" libraries for package ‘file-embed-0.0.8.2@filee_01JGu6jgdS04ATSDxnwWLI’?
    Use -v to see a list of the files searched for.

src/Reflex/TodoMVC.hs:18:8:
    Could not find module ‘Reflex’
    Perhaps you haven't installed the "js_p" libraries for package ‘reflex-0.3@refle_2QcAYqBKlbHBt4nVjs8tE5’?
    Use -v to see a list of the files searched for.

src/Reflex/TodoMVC.hs:19:8:
    Could not find module ‘Reflex.Dom’
    Perhaps you haven't installed the "js_p" libraries for package ‘reflex-dom-0.2@refle_0ggRmHHy2NNLe4Bit6HcMy’?
    Use -v to see a list of the files searched for.

can't `work-on` with reflex-platform

i ran ./work-on ghcjs ./reflex-todomvc without changing (I think?) either reflex-platform or reflex-todomvc and it errors with:

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.

haskell-src-meta-0.6.0.14
reflex-0.5.0
reflex-dom-0.4
builder for ‘/nix/store/rgb2ma86k1cms88yp9xwiqlj87cjyylv-ghcjs-0.2.1.drv’ failed with exit code 1

i'm under NixOS and cloned reflex-platform yesterday.

(work-on.log doesn't say anything).

Fix deprecation warnings

reflex-dom has deprecated a bunch of old widget helpers, and this package should be updated accordingly to get rid of the warnings and follow best practices.

How to build reflex-todomvc and use it as a template?

I am newbie to reflex (and nix/nixos). I would like to use this reflex-todomvc app as a template to start modifiying, refactoring and learn by doing.

How could I build it as a standalone app in the local directory?

$ git clone https://github.com/ryantrinkle/reflex-todomvc.git
$ cd reflex-todomvc
$ ??? 

Thanx for your help.

which is the main branch, on which the development is ongoing?

i compiled the app from the ghcjs-improved-base with the help of the https://github.com/luigy/try-stack-reflex project, and I have a couple of trivial improvements to submit, from hlint for now. For instance, using void instead of fmap (const ()) and such. If I keep interest, I may then try to split some of the functions (todoItem is a bit of a mouthful at the moment).

but looking at the repo, I'm unsure which the branch to make PRs against actually. develop would seem to be the one, but it builds against ghcjs-dom 0.1., while ghcjs-improved-base build against the 0.2. newer version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.