Commit graph

133 commits

Author SHA1 Message Date
Gabriel Gonzalez
0f8b6f00d4 Merge pull request #30 from PierreR/master
Fix haddock for fp
2015-02-26 14:47:04 -08:00
Pierre Radermecker
c38db4b54d Add doctest for fp 2015-02-26 23:30:21 +01:00
Pierre Radermecker
e6b6e73bcd fix fp doc: complete link to FilePath 2015-02-26 11:20:35 +01:00
Pierre Radermecker
4a96c34235 Fix haddock for fp 2015-02-26 11:09:16 +01:00
Gabriel Gonzalez
5e2089ad30 Version 1.0.1 => 1.0.2 2015-02-25 18:26:01 -08:00
Gabriel Gonzalez
4caacd32c5 Some fixes to deslash
Fixed deslash to not remove the trailing slash if it's also the initial slash

Also, I only selectively apply `deslash` for `getDirectoryPermissions`
2015-02-24 09:41:19 -08:00
Gabriel Gonzalez
4e4854402c Fixed ls to to work on ".", "..". Fixes #25
`getDirectoryPermissions` does not work on directories that end with a
trailing slash.  Unfortunately, `Filesystem.Path.decodeString` adds a
trailing slash to the end of the "." and ".." paths.  Also, if you
provide a path with a trailing slash it will fail, too.  This fix
uses a new `deslash` helper function to sanitize paths for
`getDirectoryPermissions`
2015-02-23 22:15:43 -08:00
Gabriel Gonzalez
fbaee429ba Add high-efficiency primitives. Fixes #23
This adds `chars` and `chars1`, which are high-efficiency versions of
`star dot` and `plus dot`, respectively.  I also changed `has`, `prefix`, and
`suffix` to use these high-efficiency primitives and the performance improvement
was dramatic.
2015-02-23 21:07:47 -08:00
Gabriel Gonzalez
5c5c3b5606 Moved "External commands" tutorial section later in tutorial
This is because the section refers to some concepts that were not taught at that
point in the tutorial.  When I hastily created this section I forgot to check
that it was in the proper order.
2015-02-09 18:33:05 -08:00
Gabriel Gonzalez
6e5e9c4b76 Added -threaded to the tutorial
This fixes a bug that occurs when you feed non-empty input to `inshell` in a
compiled program.  Without the flag the program hangs.  I'm not sure why.
2015-02-09 18:25:38 -08:00
Gabriel Gonzalez
fde69d0a56 Merge pull request #20 from happy4crazy/foldIO-typo
Fix typo in Shell `foldIO` law
2015-02-09 16:36:10 -08:00
Alan O'Donnell
35c40335c2 Fix typo in Shell foldIO law 2015-02-09 18:38:49 -05:00
Gabriel Gonzalez
99479998a2 Raised lower bound on base to 4.5. Fixes #18
This technically has no effect because `turtle` depends on `exceptions`,
which already has this lower bound, but it's probably a good idea to put
this lower bound anyway since I haven't verified that versions of `base`
less than 4.5 even work.
2015-02-08 10:04:00 -08:00
Gabriel Gonzalez
dd0afe0a55 Merge pull request #14 from MaxGabriel/patch-2
Fix mismatched parentheses in stdout function
2015-02-04 15:37:34 -08:00
Gabriel Gonzalez
9e45666dd6 Merge pull request #17 from PierreR/master
Fix #16: create a Format specifier for filepaths.
2015-02-04 15:37:25 -08:00
Pierre Radermecker
8dc46a2764 Move the export of fp down after the s 2015-02-04 23:55:13 +01:00
Pierre Radermecker
130d2c11e0 Fix #16: create a Format specifier for filepaths. 2015-02-04 23:47:37 +01:00
Maximilian Tagher
e5ebee4295 Fix mismatched parentheses in stdout function 2015-02-02 21:45:28 -08:00
Gabriel Gonzalez
24c140d7db Version 1.0.0 => 1.0.1 2015-02-02 07:27:05 -08:00
Gabriel Gonzalez
d8cfa343c8 Merge pull request #12 from MaxGabriel/patch-1
Remove duplicate "the" in Tutorial
2015-02-02 06:57:24 -08:00
Gabriel Gonzalez
30c3a902c6 Merge pull request #6 from Gabriel439/shellstreamexample
Extended tutorial to show how to use `inshell`/`inproc`.  Fixes #4
2015-02-02 06:57:06 -08:00
Maximilian Tagher
4b3b7fa2aa Remove duplicate "the" in Tutorial 2015-02-01 22:20:30 -08:00
Gabriel Gonzalez
ad7d68b17f Extended tutorial to show how to use inshell/inproc 2015-01-31 13:41:44 -08:00
Gabriel Gonzalez
522e0106d7 Shout-out to Shelly library in the cabal description 2015-01-31 10:32:06 -08:00
Gabriel Gonzalez
cac54f7999 Generalized type of die 2015-01-31 10:20:21 -08:00
Gabriel Gonzalez
f61a767926 Fix ambiguous type in doctest. Fixes #1 2015-01-31 10:18:46 -08:00
Gabriel Gonzalez
2984ec50d6 Updated documentation 2015-01-29 20:00:23 -08:00
Gabriel Gonzalez
efb0235251 Renamed readLine to readline 2015-01-29 19:55:39 -08:00
Gabriel Gonzalez
e5733082a1 Added installation instructions to top of tutorial 2015-01-29 07:09:17 -08:00
Gabriel Gonzalez
e7ba135181 Added 1-space indent to haddocks code, which interfered with build 2015-01-28 21:00:09 -08:00
Gabriel Gonzalez
5a01ed47ce Added hyperlinks to tutorial code as @ianoc suggested 2015-01-28 20:46:06 -08:00
Gabriel Gonzalez
7a30a36aa4 Updated documentation
This addresses some of @ianoc's comments
2015-01-28 19:51:43 -08:00
Gabriel Gonzalez
44ad04e274 Renamed streaming shell utilities 2015-01-28 19:19:31 -08:00
Gabriel Gonzalez
d97b598999 Added README.md 2015-01-28 19:18:02 -08:00
Gabriel Gonzalez
0c4d49b79f Added .travis.yml 2015-01-28 19:05:57 -08:00
Gabriel Gonzalez
12e5562d0e Fixed rmdir 2015-01-28 07:40:45 -08:00
Gabriel Gonzalez
924e58d0dd Updated documentation 2015-01-28 07:40:39 -08:00
Gabriel Gonzalez
739edb72ac Updated documentation 2015-01-27 21:06:43 -08:00
Gabriel Gonzalez
8fc9f97fd1 Updated documentation 2015-01-27 19:47:14 -08:00
Gabriel Gonzalez
1276c43796 Updated documentation 2015-01-27 19:41:50 -08:00
Gabriel Gonzalez
8b173d3803 Updated documentation 2015-01-27 19:33:50 -08:00
Gabriel Gonzalez
66d066c067 Hide implementation of Pattern 2015-01-27 19:21:07 -08:00
Gabriel Gonzalez
96cb6805e9 Updated documentation 2015-01-27 19:21:00 -08:00
Gabriel Gonzalez
5f94ff9cc1 Updated documentation 2015-01-27 18:40:27 -08:00
Gabriel Gonzalez
52d1e96ec5 Updated documentation 2015-01-26 19:35:34 -08:00
Gabriel Gonzalez
ecd96d0e23 Exported inhandle 2015-01-26 19:23:59 -08:00
Gabriel Gonzalez
38f7e2a5bc Replaced Protected with Managed 2015-01-26 19:19:20 -08:00
Gabriel Gonzalez
2ea90b299e Updated documentation 2015-01-26 07:38:09 -08:00
Gabriel Gonzalez
d6da575e6f Merge branch 'master' of github.com:Gabriel439/Haskell-Turtle-Library
Conflicts:
	src/Turtle/Tutorial.hs
2015-01-25 20:18:06 -08:00
Gabriel Gonzalez
8958f78792 Updated documentation 2015-01-25 20:16:02 -08:00