Commit Graph

29 Commits

Author SHA1 Message Date
Konstantine Rybnikov
dde76c9b3d Update aeson and text deps 2014-11-22 13:50:44 +02:00
Simon Marlow
79d1f1eea9 Merge pull request #12 from zudov/patch-1
Added a note about the Prelude
2014-07-23 14:12:49 +01:00
Konstantin Zudov
423709177b Added a note about the Prelude
It took me some time to figure out that I forgot about the Prelude. Hope that this will help someone.
2014-07-23 16:07:47 +03:00
Zejun Wu
7411284239 Update exposed-modules in haxl.cabal
Summary:
Haxl.Core.Env and Haxl.Core.Fetch were collapsed into Haxl.Core.Monad in
D1427283. Update haxl.cabal to reflect this and use PatternGuards to
suppress warnings.

Test Plan: ~/local/haxl-github $ cabal test

Reviewed By: jon.coens@fb.com

Subscribers: ldbrandy, smarlow, akr, bnitka, jcoens

FB internal diff: D1441939
2014-07-17 13:02:09 -07:00
Simon Marlow
18f2f1ab21 Rework memoization, fixing infinite loop problems
Summary:
See copious comments in the source for details.  The problem with the
previous approach was that it was too easy to lose the continuation that
contained the memo table update when exceptions are flying around, and
losing that continuation always results in an infinite loop.  This
solution is more robust, because we can never lose a continuation, the
worst that could happen (and it shouldn't happen) is that we do a bit of
repeated work.

Test Plan: unit tests, my infinite loop repro case is fixed

Reviewed By: jon.coens@fb.com

Subscribers: ldbrandy, smarlow, akr, bnitka, jcoens

FB internal diff: D1427283

Tasks: 3734942
2014-07-17 13:02:06 -07:00
Simon Marlow
ca83d6070c Update the DataCache strictly
Summary:
We weren't forcing the DataCache after inserting a new element, which
meant that an error would appear when next using the cache, rather than
when we insert the element.

Test Plan: new unit test

Reviewed By: bnitka@fb.com

Subscribers: ldbrandy, smarlow, akr, bnitka, jcoens

FB internal diff: D1420686

Tasks: 4637866
2014-07-17 13:02:02 -07:00
Simon Marlow
2f4d6336b2 Add catchIf
Summary: Useful for catching multiple kinds of exception with a single handler.

Test Plan: haxl/core unit tests

Reviewed By: jon.coens@fb.com

Subscribers: ldbrandy, jonp, smarlow, akr, bnitka, jcoens

FB internal diff: D1387298

Tasks: 4526990, 3727129
2014-07-17 13:01:53 -07:00
Jon Coens
c90f8b0c8d Merge pull request #10 from facebook/change_link
Update link to example data sources
2014-06-25 19:14:00 -07:00
Jon Coens
13606a4fc7 Update link to example data sources 2014-06-25 18:59:17 -07:00
niteria
3bb91ac357 Merge pull request #9 from juhp/patch-1
replace getAllUsers by getAllUserIds
2014-06-23 15:21:15 -07:00
Jens Petersen
53cf6095fa replace getAllUsers by getAllUserIds 2014-06-23 14:00:53 +09:00
Simon Marlow
da1525d897 Sync the readme.md with the code
Summary: from PR 4

Test Plan: unit tests

Reviewed By: akr@fb.com

Subscribers: ldbrandy, jonp, smarlow, akr, bnitka, jcoens

FB internal diff: D1384640
2014-06-16 06:48:51 -07:00
Simon Marlow
e6dbb92d4b lint
Summary: From PR 5 on github

Test Plan: unit tests

Reviewed By: akr@fb.com

Subscribers: ldbrandy, jonp, smarlow, akr, bnitka, jcoens

FB internal diff: D1384641
2014-06-16 06:48:43 -07:00
Simon Marlow
6ddd602873 Add SVG logo
Test Plan: no tests

Reviewed By: akr@fb.com

Subscribers: ldbrandy, jonp, smarlow, akr, bnitka, jcoens

FB internal diff: D1381974
2014-06-16 06:48:28 -07:00
Simon Marlow
610e7d2a10 Merge pull request #8 from ChristopherBiscardi/sql-example-fix
Small SQL example .cabal fixes
2014-06-16 11:59:02 +01:00
Simon Marlow
4a9540d7fb Merge pull request #6 from 23Skidoo/patch-1
Missing annotation for a code snippet.
2014-06-15 16:31:02 +01:00
Simon Marlow
58b64a6931 Merge pull request #7 from ravenjohn/patch-1
Update readme.md
2014-06-15 16:30:05 +01:00
Christopher Biscardi
45a25e4b3b Small SQL example .cabal fixes
When building from a fresh sandbox in /example/sql, cabal complained
about the name and version fields missing, as well as the base
dependency missing in build-depends.
2014-06-13 22:16:59 -07:00
ravenjohn
c6b8410a8c Update readme.md 2014-06-14 06:46:49 +08:00
Simon Marlow
f4c0b0d951 Comment about AsyncFetch
Reviewed By: akr@fb.com

Internal FB diff: D1374045
2014-06-12 08:43:59 -07:00
Mikhail Glushenkov
1ad000e8d7 Missing annotation for a code snippet. 2014-06-11 15:02:15 +02:00
Simon Marlow
b1595941fa Merge pull request #3 from aledista/patch-1
Update readme.md
2014-06-11 10:50:36 +01:00
Alessio Di Stasio
c562df2c46 Update readme.md 2014-06-10 20:52:00 -05:00
Simon Marlow
4d84be9368 Merge pull request #2 from jfischoff/patch-1
Expose the Caches type
2014-06-10 22:21:00 +01:00
Jonathan Fischoff
7ca8ef1e6d Expose the Caches type
This makes the doc look better.
2014-06-10 13:53:28 -07:00
Simon Marlow
41ca963e99 Merge pull request #1 from oreoshake/mixed_content_in_readme
Change logo src to https to avoid mixed-content
2014-06-10 21:08:29 +01:00
Simon Marlow
040caa411d Add links to the blog post and the ICFP paper. 2014-06-10 20:59:23 +01:00
Neil Matatall
45645f28b9 Change logo src to https to avoid mixed-content 2014-06-10 11:16:17 -07:00
Simon Marlow
74a3874f0b Initial open source import 2014-06-10 02:47:59 -07:00