Commit graph

307 commits

Author SHA1 Message Date
Vincent Ambo
92f43c3763 * removed unnecessary file 2012-05-29 23:48:01 +02:00
Vincent Ambo
2a885bb564 * added elm-happstack example && changed text in elm-yesod example 2012-05-29 23:47:31 +02:00
Evan Czaplicki
8185420450 Merge pull request #13 from tazjin/master
* fixed elm-yesod and re-exported the elm QQers
2012-05-29 13:29:42 -07:00
Vincent Ambo
381fbf4c3f * removed redundant imports in elm-yesod example 2012-05-29 22:05:59 +02:00
Vincent Ambo
1cb6096fbc * updated the elm-yesod example 2012-05-29 21:48:43 +02:00
Vincent Ambo
f29b21d5b4 * fixed elm-yesod 2012-05-29 21:48:35 +02:00
evancz
12384b8cf8 Move elm-mini.js to root because it is needed by all projects. This should also fix a link in the README.md. 2012-05-29 14:48:30 -05:00
Vincent Ambo
ccc9bda258 * exporting QuasiQuoters again :-)
Some dependencies went missing, as well as the export of the
QuasiQuoter. Here they are again.

I have also added the GHC -Wall option to the cabal file because there
are still quite a few warnings (especially missing type signatures) in
the code.
2012-05-29 21:48:24 +02:00
evancz
85f84bca23 Managed to get Yesod.hs compiling. 2012-05-29 13:49:44 -05:00
evancz
a6cf0d2815 Expose fewer internal functions, making more information available only through toHtml :: String -> Html and toParts :: String -> (Html, String, String). Make the required changes to dependent files. Yesod.hs still needs one fix though. 2012-05-29 13:25:43 -05:00
Evan Czaplicki
1600aae698 Merge pull request #12 from tazjin/master
* updated elm QuasiQuoter
2012-05-28 21:28:29 -07:00
Vincent Ambo
6b2b4180ad * updated elm-yesod Example to use variable interpolation for URLs 2012-05-29 02:58:37 +02:00
Vincent Ambo
fd1b410ea4 * updated elm QuasiQuoter for variable interpolation
The elm QuasiQuoter now supports variable interpolation using the ^{..}
syntax. An updated elm-yesod example will follow soon.

Version bumped to 0.1.2 because this is a rather significant change,
thanks to mikeplus64 for the QuasiQuoter he wrote that I could have a
look at while writing ours.
2012-05-29 02:48:40 +02:00
Evan Czaplicki
df948a48df Merge pull request #11 from tazjin/master
* update elm-yesod example
2012-05-28 15:57:42 -07:00
Vincent Ambo
3bd18e19c7 * updated the elm-yesod example
Added a slightly more sophisticated elm-page to the elm-yesod example.
2012-05-29 00:39:25 +02:00
Evan Czaplicki
dce3842884 Merge pull request #10 from tazjin/master
* splitting up elm and elm-server, adding elm-yesod
2012-05-28 14:30:17 -07:00
Evan Czaplicki
096ff99f71 Merge pull request #9 from tazjin/51b2a2805af214b725d9beb0e2388ae9338435e1
* added a simple .gitignore file to ignore build residues
2012-05-28 13:48:06 -07:00
Vincent Ambo
aafc77e17a * added a link to the Elm documentation the Language.Elm documentation 2012-05-28 18:33:15 +02:00
Vincent Ambo
4fa6d8051f * documentation for Language.Elm.Yesod 2012-05-28 18:13:37 +02:00
Vincent Ambo
c08f7756c6 * documentation for Language.Elm 2012-05-28 18:02:02 +02:00
Vincent Ambo
97025a0970 * added .DS_Store files (Mac) to .gitignore 2012-05-28 17:26:07 +02:00
Vincent Ambo
bdb3a63d13 * added the elmFile QuasiQuoter for embedding .elm files
the elm-yesod example contains an example for how to use the elmFile QQ.

Note: No spaces before and after the filename!
2012-05-28 17:24:57 +02:00
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