Commit graph

586 commits

Author SHA1 Message Date
evancz
881a5cfe75 Bump version number to 0.4.5 2012-10-07 20:37:48 -07:00
evancz
95b20dba54 Update changelog.txt and add automatons to the RTS. 2012-10-07 20:34:32 -07:00
evancz
b52df9602a Abstract out "sets of definitions" so that they could potentially be used in where clauses. 2012-10-07 20:34:04 -07:00
evancz
2caa085d96 Add (,,) notation for creating tuples. 2012-10-07 13:20:28 -07:00
evancz
25db173270 Make corrections to Automaton.elm.
Fix `compose`, `combine`, and `init'`.

Add `dragForm`.
2012-10-06 23:14:42 -07:00
evancz
1610b99b4e Fix compilation error in Hints.hs, and correct a character escaping bug in the JS output. 2012-10-06 23:13:03 -07:00
evancz
e3ac170b22 Make Automaton a bit nicer. 2012-10-05 17:14:30 -04:00
evancz
d178521744 Add some other API suggestions. 2012-10-04 22:14:56 -04:00
evancz
fa8f7093d6 Make some changes to the comments. Make proposed API clearer and get rid of comments about infix operators. 2012-10-04 22:07:08 -04:00
evancz
e7cadaf9ab Add a bunch of core Elm modules. These are not directly integrated in the compiler right now.
Currently, these files are either unused or compiled down to JS and included in the runtime system (i.e. `elm-runtime-x.y.z.js`)

They will eventually get incorporated into the compiler though!
2012-10-04 22:01:20 -04:00
evancz
f71a08a037 Add count function. 2012-10-04 21:55:06 -04:00
evancz
c7ffd7e987 Implement some of the Automaton functions. 2012-10-04 21:40:49 -04:00
evancz
cba2cf6fbc Add the beginnings of an Automaton library. 2012-10-04 21:13:00 -04:00
evancz
16895c4384 Add monospace back to asText 2012-10-04 12:18:01 -04:00
evancz
961a74df67 Change direction of vector rotation. I.e. Add a minus sign. Off by one character! 2012-10-04 01:57:15 -04:00
evancz
0a1461d7b0 Make vector rotation more efficient in insideForm. 2012-10-04 01:49:46 -04:00
evancz
20f5e0edfc Add atan2. 2012-10-04 01:49:09 -04:00
evancz
05cfda7a43 Update the type hints for all, any, show, the new HTTP API, and the new character functions. 2012-10-04 00:55:39 -04:00
evancz
02adbe1e40 Change the type of show. It now produces a String. 2012-10-04 00:54:41 -04:00
evancz
f4344dcb59 Totally redo the HTTP API. Get rid of Maybe in types because the signal filtering functions make them unnecessary. Make requests more flexible with the request function which lets you set the type, url, data, and set request headers. 2012-10-04 00:41:33 -04:00
evancz
6a4cf28866 Add a bunch of functions to classify chars.
Remove an unnecessary `console.log`
2012-10-04 00:39:00 -04:00
evancz
8b72e0db01 Rename forall and exists to all and any. I ended up liking these names better and they do not clash with the potential introduction of forall in types. 2012-10-04 00:37:58 -04:00
evancz
d0bf8667c2 Add better documentation for runtimeLocation. 2012-10-03 15:31:38 -04:00
evancz
b2147418e0 Show version numbers correctly. 2012-10-03 03:17:09 -04:00
evancz
253e768e62 Get runtime location working properly. 2012-10-03 02:47:46 -04:00
evancz
f45433145c Update readme and runtime system. 2012-10-03 02:03:14 -04:00
evancz
c9c17b34ef Rename insideForm to isWithin.
Rename `foldp1` to `foldp'`, I think the previous name suggests different behavior.
Add `foldp1 :: (a -> a -> a) -> Signal a -> Signal a`
Add type hints for all of these functions.
2012-10-02 22:57:52 -04:00
evancz
1171a4d4e7 Fix type of middleAt, topLeftAt, etc. 2012-10-02 22:02:50 -04:00
evancz
be8290495f Re-add older runtime, just in case someone needs it between now and incremental release. 2012-10-02 16:00:09 -04:00
evancz
e192d530c7 Ensure that elm-server knows where the elm runtime lives. Now users do not need to worry about that. Update version numbers. 2012-10-02 15:59:06 -04:00
evancz
f190afa8b6 avoid elm-server in README.md for now. Will improve directions soon! 2012-09-29 22:30:29 -04:00
evancz
839d3e281d Add occurs check to unification. 2012-09-29 18:35:45 -04:00
Evan Czaplicki
e2f7aca147 Merge pull request #29 from joeyadams/foldp1
Add variant of foldp whose initial value comes from the source signal
2012-09-29 14:57:00 -07:00
Joey Adams
0dee68605c Add foldp1
foldp1 :: (a -> b -> b) -> (a -> b) -> Signal a -> Signal b

Like foldp, but the initial value is based on the input signal's
initial output.
2012-09-28 22:01:31 -04:00
evancz
c2300be287 Remove file that no one should really see. 2012-09-28 00:53:31 -04:00
evancz
bb1d53de2e add insideForm :: Point -> Form -> Bool function that checks to see if a point is inside of a form. 2012-09-27 17:18:29 -04:00
evancz
eb748ae6df Fix bugs with --make flag. Update new to version number. Make sure that all built-in modules are recognized by the compiler. 2012-09-26 13:29:53 -05:00
evancz
9e82c6b19a Add type hints, update version. 2012-09-18 10:18:49 -05:00
evancz
5b957f2e94 Update changelog.txt 2012-09-16 21:24:47 -05:00
evancz
9fa56a075b Update RTS to match all the js changes. 2012-09-16 15:48:00 -05:00
evancz
4ca6dccaad Update examples for version 0.4 2012-09-16 00:52:07 -05:00
evancz
b3ab4f8c07 Change default font to Helvetica. 2012-09-16 00:51:20 -05:00
evancz
9020b22499 Fix bug in typeface and in makeSpaces. Remove form example so that it is not duplicated. 2012-09-16 00:50:48 -05:00
evancz
f5e3ad4696 Update version number for elm-server. 2012-09-13 21:42:34 -07:00
evancz
36926698ad New version of RTS 2012-09-13 21:31:48 -07:00
evancz
8ac0c81c1c Improve optimizations a bit. The compiler now performs beta reduction in some simple cases. 2012-09-13 21:31:34 -07:00
evancz
8a79164a21 Distinguish between DOM nodes created by Elm and ones imported from JS. 2012-09-13 21:28:16 -07:00
evancz
a66396cc0c Properly escape newlines in Markdown, and add more info to changelog 2012-09-13 12:26:31 -07:00
evancz
9197f15f1a Fix bug in sampleOn. 2012-09-13 12:25:48 -07:00
evancz
bcfdf66ed9 Add images function. 2012-09-13 12:25:14 -07:00