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
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
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
Evan Czaplicki
2c080b6b0d
Mark Char and Text values to distinguish them from Strings
...
Also get rid of the unwords and unlines functions which are confusing
and can more easily be reproduced with (join " ") and (join "\n")
2013-10-10 13:57:33 -07:00
Evan Czaplicki
20bbb71359
cosmetic: fix indentation
2013-10-10 13:57:33 -07:00
Evan Czaplicki
15aec26799
Merge pull request #288 from aforemny/dev
...
Relax mtime test in alreadyCompiled
2013-10-09 10:25:43 -07:00
Alexander Foremny
484e14a296
Relax mtime test in alreadyCompiled
2013-10-09 13:10:35 +02:00
Evan Czaplicki
6b28928067
cosmetic: fix typo and remove redundancy
2013-10-08 20:06:26 -07:00
Evan Czaplicki
e85c8f18dc
Fix issue #286
...
That was a silly one :) Thanks for the report @mgold.
2013-10-08 20:06:26 -07:00
Evan Czaplicki
ea38376358
Cosmetic: import the prefixed version of Generate.Cases
2013-10-08 20:06:26 -07:00
Evan Czaplicki
0b11d4f0bd
Merge pull request #281 from mgold/dev2
...
Random.floatList : Signal Int -> Signal [Float]
2013-10-07 19:52:25 -07:00
Max Goldstein
c99d7d72d5
Preallocate array per Spirros.
...
Need to specify indices explictly, as push will not overwrite the initialized
values but instead appends on to the end.
2013-10-07 21:35:49 -04:00
Evan Czaplicki
cc5295da29
Fix string conversion problems
2013-10-06 17:50:09 -07:00
Evan Czaplicki
efe8883ea6
Git rid of unhelpful subheadings
2013-10-06 16:00:05 -07:00