Commit graph

1878 commits

Author SHA1 Message Date
Evan Czaplicki
040389f507 Correct the value e 2013-10-24 15:02:43 +02:00
Evan Czaplicki
a6c96ebf6b fix show for numbers and other non-object types 2013-10-24 15:02:29 +02:00
Evan Czaplicki
e6f83075d0 Get rid of old info in the readme 2013-10-22 13:54:53 +02:00
Evan Czaplicki
2150eab871 fix string conversion in runtime/ 2013-10-22 10:44:40 +02:00
Evan Czaplicki
519484d85a Add the toList and fromList functions 2013-10-22 10:09:41 +02:00
Evan Czaplicki
463873b771 Make docs nicer 2013-10-22 10:09:22 +02:00
Evan Czaplicki
f1b1bcd5fd Fix pattern matching on characters 2013-10-22 07:02:51 +02:00
Evan Czaplicki
fb760ee63e Bump version number of elm-server 2013-10-22 06:54:23 +02:00
Evan Czaplicki
abbcf3c13d Add append and concat functions, organize docs better 2013-10-22 06:54:09 +02:00
Evan Czaplicki
99bd1000c2 Fix issues with improperly created characters 2013-10-20 23:15:30 -04:00
Evan Czaplicki
c685c8b91b cosmetic changes on fix for #305
I felt weird about the previous style where things were more
intermingled. Does everything still look okay?
2013-10-19 22:14:34 -04:00
Evan Czaplicki
013e19ecde Merge pull request #306 from johnpmayer/topic/fixing_empty_record
can have zero fields if no extension could be parsed
2013-10-19 18:54:05 -07:00
John P Mayer Jr
e75f5388fb can have zero fields if no extension could be parsed 2013-10-20 01:28:52 +00:00
Evan Czaplicki
debfd18444 Fix formatting of error when there are two unbound type variables 2013-10-19 10:52:48 -04:00
Evan Czaplicki
692d8d8eac Throw errors for unbound type variables in ADTs and aliases, resolves #302 2013-10-19 10:39:23 -04:00
Evan Czaplicki
56877c0892 Bump the version number to 0.10 2013-10-18 16:08:38 -04:00
Evan Czaplicki
464c4e8256 Merge pull request #300 from erdeszt/list-init
Add init function
2013-10-18 09:08:49 -07:00
Evan Czaplicki
e2b3281a09 Add floatList to docs 2013-10-18 01:26:04 -04:00
Evan Czaplicki
44057afdb0 get rid of documentation for functions that are not exported 2013-10-18 01:11:41 -04:00
Evan Czaplicki
e0b0cc0ab5 Merge branch 'dev' 2013-10-17 23:55:31 -04:00
Evan Czaplicki
83406ff73a Remove weird cons functions and make documentation nicer. 2013-10-17 23:54:55 -04:00
Evan Czaplicki
5b2ba67e61 Get rid of double backslashes, which have mysteriously changed behavior and now actually show up twice 2013-10-17 20:32:45 -04:00
erdeszt
2ffacb7056 Add init function 2013-10-17 21:07:39 +02:00
Evan Czaplicki
5ad0ec5b7a Parse documentation and infix declarations more safely 2013-10-17 13:40:28 -04:00
Evan Czaplicki
f43af4bbd1 Use faster loop for floatList and adjust indentation 2013-10-17 13:40:28 -04:00
Evan Czaplicki
ffeec1ac1d Merge pull request #297 from mgold/dev
Update docs for new String representation.
2013-10-16 08:20:10 -07:00
Max Goldstein
dbd8b4dbfb Update docs for new String representation. 2013-10-16 10:44:30 -04:00
Evan Czaplicki
d0232b45d2 Fix behavior of pad 2013-10-16 01:55:20 -04:00
Evan Czaplicki
14b60a0a24 Add documentation to String and replace stringy examples in List docs 2013-10-16 01:54:09 -04:00
Evan Czaplicki
1974ad57be Revert "Export types from ADTs in the default exports"
This reverts commit 4e82d19fd7.
2013-10-15 11:32:42 -04:00
Evan Czaplicki
03cf56d8ec cosmetic: make it simpler to get locations for parses 2013-10-14 22:38:38 -04:00
Evan Czaplicki
4e82d19fd7 Export types from ADTs in the default exports 2013-10-14 20:39:21 -04:00
Evan Czaplicki
c480449371 cosmetic: make shadow check a bet more compact 2013-10-14 20:26:47 -04:00
Evan Czaplicki
e8a661531a cosmetic: nicer way to conditionally run type printer 2013-10-14 20:14:56 -04:00
Evan Czaplicki
11a60de544 Disallow extended record types with no fields, resolves #280 2013-10-14 17:42:26 -04:00
Evan Czaplicki
115b139774 fix #279 2013-10-14 16:59:37 -04:00
Evan Czaplicki
0f9f8c01e9 Improve error messages when the module documentation structure is missing 2013-10-14 14:59:54 -04:00
Evan Czaplicki
24da7112a9 Drop repeats by default on arrows, directions, wasd, and isDown 2013-10-14 13:33:48 -04:00
Evan Czaplicki
a29a1fd558 Fix mouse and touch tracking for embedded Elm programs, #291 2013-10-13 19:10:02 -04:00
Evan Czaplicki
ecf5e87dce Only export public functions 2013-10-13 18:24:02 -04:00
Evan Czaplicki
ffd088bfae cosmetic: switch to 4 spaces as indent 2013-10-13 17:58:52 -04:00
Evan Czaplicki
f34b150a5e cosmetic: indent "properly" 2013-10-13 17:40:59 -04:00
Evan Czaplicki
37878528bf Check for variable shadowing
When this code was originally written, all variables were given unique
names, making it unnecessary to check for shadowing.
2013-10-13 17:36:21 -04:00
Evan Czaplicki
78242ef95b Merge pull request #290 from jsl/better_server_error_messages
Improve error messages when elm input file or binary can't be found
2013-10-11 20:04:01 -07:00
Evan Czaplicki
fb16adb92a Fix the problem with split from issue #289 2013-10-11 22:04:53 -04:00
Justin Leitgeb
10f13d107d Modify code to follow hlint suggestions 2013-10-11 20:50:44 -04:00
Justin Leitgeb
952c02fabf Improve error messages when elm input file or binary can't be found
There are a few problems currently with the elm server:

  1. When the elm binary is not found, a nondescript error is displayed
  2. When a file has a suffix .elm but the file is not found, the same error
     as in (1) is displayed
  3. When a non-existing file ending in .elm is requested, the error code is
     incorrect - the elm-server returns a 400 instead of a 404

The following is the error message that shows up in cases (1) and (2) above:

    Server error: elm-server-cache: getDirectoryContents: does not exist (No such file or directory)

This commit fixes the generic runtime errors (source of (1) and (2) above) by
guarding against trying to delete a non-existing directory. It also fixes the
HTTP code for non-existing .elm files by returning the general Happstack 404
page that is returned for other not-found requests.
2013-10-11 20:44:29 -04:00
Justin Leitgeb
05dbca5120 Fit code within 80 characters 2013-10-11 09:04:11 -05:00
Evan Czaplicki
ec581a9ef1 Properly join Text 2013-10-10 14:29:47 -07:00
Evan Czaplicki
4a914a497a Fix append on text
string literals have type string, whereas string objects are instances
of String
2013-10-10 14:25:49 -07:00