Vincent Ambo
c6bd8bfeb4
* modified elm-yesod to work and updated the example
2012-05-28 17:09:27 +02:00
Vincent Ambo
08287fcea7
* modified elm-server
...
Elm-server now works with the "new" structure of Elm as well. The elm
package exports Language.Elm.generateHtml which is equivalent to the
compileToHtml function of the old Language.Elm package.
Since a dependency on blaze exists either way, a separate elm-blaze
package is not necessary.
2012-05-28 16:56:13 +02:00
Vincent Ambo
f2e8703a2b
* restructuring, part #1
...
I am splitting the elm package up into several packages, elm itself
which exports the Language.Elm* modules and builds the compiler
executable, elm-server which contains the standalone, Happstack-based
Elm server and elm-yesod, which provides the generateWidget function
for using Elm together with Yesod.
2012-05-28 16:43:56 +02:00
Vincent Ambo
f7e985243a
* elm + Yesod example
2012-05-28 16:08:40 +02:00
Vincent Ambo
cdef603d8c
* Language.Elm.Yesod
...
This module provides a very simple [elm| |] quasiquoter and a
generateWidget function to use elm in combination with Yesod's widget
system.
2012-05-28 16:08:25 +02:00
Vincent Ambo
51b2a2805a
* .gitignore file
2012-05-28 16:07:06 +02:00
evancz
c4c5e3e1a1
More version number updating
...
Hopefully this won't happen so much anymore.
2012-05-27 19:20:07 -05:00
Evan Czaplicki
8e684b9076
Update README.md
2012-05-27 17:54:09 -05:00
evancz
44b2e45380
Updates for version 0.1.1.6
...
Includes ExtractNoscript in the .cabal file and updates version numbers
as necessary.
2012-05-27 17:49:20 -05:00
evancz
89605b15aa
Enable generation of noscript tags.
...
For better indexing (for Google! Bing is actually fine...)
2012-05-27 16:10:10 -05:00
evancz
4546c0b6e8
Minified elm-mini.js
2012-05-23 17:27:39 -04:00
evancz
ea05fbe3d9
Corrections for second release.
...
Had some install issues on different platforms, so fixed an ambiguity
with Control.Deepseq.force and removed some compilation flags.
2012-05-23 00:50:11 -04:00
evancz
8215dacbab
Prepare for second release.
...
Add a Haskell library so that Elm code can be compiled directly in
Haskell. Clean up file names and fix up dependencies.
2012-05-22 23:45:19 -04:00
evancz
e33d3290e3
Introduce basic optimizations.
...
Reduces the size of string-heavy code dramatically! 70% decrease in the
size of the the elm-lang.org home page.
2012-05-22 18:07:21 -04:00
evancz
7875f20537
Add type hint for Input.stringDropDown
2012-05-21 17:33:04 -04:00
evancz
ee0c81141c
Fixed typo. It's "tuple" not "tulpe"!
2012-05-21 16:13:22 -04:00
evancz
13a25c34fe
Add type hints for partial coverage of "Input"
2012-05-21 16:07:32 -04:00
evancz
68b3c86ac1
Add type hints for the Signal, Mouse, and Window libraries.
2012-05-20 22:24:35 -04:00
evancz
54edea7827
Correct error with type inference.
2012-05-20 21:36:29 -04:00
evancz
617c7a9c5d
Add hint for "text" function.
2012-05-20 21:02:06 -04:00
evancz
0050157ceb
Merge branch 'master' of https://github.com/evancz/Elm
2012-05-20 01:15:48 -04:00
evancz
ae6984c331
Clean-up after dependency changes. Replace foldl with foldl' in some places.
2012-05-20 01:14:54 -04:00
evancz
b5711243f1
Another change for the 'Str' data constructor.
2012-05-20 01:12:37 -04:00
evancz
c00d0171a8
Add the 'Str' data constructor to Ast.hs. Makes type checking go much much much faster!
2012-05-20 01:11:45 -04:00
evancz
5b4950006f
More type hints.
2012-05-20 01:10:16 -04:00
evancz
68a5636beb
Add more strictness to deal with space-leak in cSub and tSub functions.
2012-05-20 01:09:12 -04:00
evancz
e041457bee
Update build dependencies.
2012-05-20 01:07:59 -04:00
Evan Czaplicki
4e15a25220
Update README.md
2012-05-19 17:16:10 -03:00
evancz
0aa1b0b88f
Ensure that variables are renamed. Accidentally stopped renaming vars on last commit.
2012-05-17 23:51:38 -04:00
evancz
f76a22e1fa
Redo type parser. Correct let-polymorphism in unification.
2012-05-17 23:16:16 -04:00
evancz
5ba2f27b88
Improve type inference for List library and Maybe datatype.
2012-05-15 02:12:18 -04:00
evancz
911d92cd6f
Improve type hints for values that fall through to JavaScript. Abstract out Guid functions since they are now used in many modules.
2012-05-12 00:27:59 -04:00
evancz
0ca86e4954
Allow let-polymorphism in type-inference algorithm. Remove old type-checking files.
2012-05-11 21:08:15 -04:00
evancz
f5bdeae815
Add basics of type-checking and inference. Uses constraint generation method.
2012-05-11 06:28:56 -04:00
evancz
3a83d69168
Correct errors with mod
function.
2012-04-30 23:13:35 -04:00
evancz
e87d8c4861
Include changes to update
, mod
, and rem
into runtime system.
2012-04-30 21:58:25 -04:00
evancz
368b145def
Correct behavior of 'mod' function. Add 'rem' function.
2012-04-30 21:56:20 -04:00
evancz
fc6bcf6934
Remove DOM update code in favor of naive update mechanism (replace everything). Not ideal, but should be added back when Element model is more robust.
2012-04-30 21:55:52 -04:00
evancz
cdd1a897bb
Improve error reporting very slightly. Add Mouse.clickedOn function.
2012-04-30 17:05:34 -04:00
evancz
f0374d1947
Merge branch 'master' of https://github.com/evancz/Elm
2012-04-29 20:55:44 -04:00
evancz
bc78002238
Add Input.button
for form submission.
2012-04-29 20:55:29 -04:00
Evan Czaplicki
3e866145ab
Merge pull request #5 from abhinav/master
...
Lexer cleanup
2012-04-29 17:21:34 -07:00
Abhinav Gupta
7771695d50
Merge branch 'master' of https://github.com/evancz/Elm
2012-04-29 14:19:38 -07:00
evancz
d3399d12e3
Merge branch 'master' of https://github.com/evancz/Elm
2012-04-29 15:09:16 -04:00
evancz
75ce10de64
Fix subtle signal update bug. Lift nodes previously short-circuited when one input changed rather than updating all inputs.
2012-04-29 15:08:30 -04:00
Abhinav Gupta
98fb3783f5
Simplify some of the Lexer code and add type hints
2012-04-28 19:30:14 -07:00
Evan Czaplicki
9de68ec154
Reorder sections for more clarity. More use of the code
font.
2012-04-28 18:12:10 -03:00
Evan Czaplicki
5696b02913
Merge pull request #4 from abhinav/master
...
Fixed HLint warnings
2012-04-28 13:35:57 -07:00
Abhinav Gupta
f32b647ac5
Fix HLint warnings.
2012-04-28 00:26:46 -07:00
Abhinav Gupta
37cab4561a
More HLint warnings
2012-04-27 23:57:11 -07:00