Skip to content

Instantly share code, notes, and snippets.

Alexandre Gravier agravier

  • SEEK
  • Singapore
Block or report user

Report or block agravier

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am agravier on github.
  • I am agravier ( on keybase.
  • I have a public key ASBYHRyyl2NfPMflcokfbClHWV97_F-fsgDs9PAA8csKFQo

To claim this, I am signing this object:

agravier /
Last active Dec 20, 2015
I modified a few snippets from Tom from to suit my needs. The structured LoT made by the original doesn't work with longtable. Also, it structures by part, not chapter, but if you need chapters, that's easy to change by following to the original:…
% Lists of figures, tables and listings with part headings
% Create a flag
% Fix the \part command to set a flag
agravier / lazy-eval-and-mocks-solution.clj
Created Nov 9, 2010
Mocks may prevent lazy sequences from being realized.
View lazy-eval-and-mocks-solution.clj
user> (tested-f-t)
FAIL in (tested-f-t) (mock.clj:27)
Expected 3 calls to mocked-f. 0 seen.
expected: (= actual expected)
actual: (not (= 0 3))
agravier / atticus-mock-multimethod-solution.clj
Created Nov 9, 2010
atticus mocks don't allow overloaded functions
View atticus-mock-multimethod-solution.clj
[(update-game-state [a b & rest] (atticus.mock/times 5))]
You can’t perform that action at this time.