Skip to content

Commit

Permalink
remove debug codes
Browse files Browse the repository at this point in the history
  • Loading branch information
ba0f3 committed Mar 28, 2016
1 parent 2785036 commit 503a7a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions kinto.nim
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ proc sort*(q: Query, fields: varargs[string]): Query {.inline.} =

macro filter*(q, n: expr): expr {.immediate.} =
## apply filters for records
echo treeRepr(n)
const infixOps = [
("==", "filter_by"),
("<=", "min"),
Expand Down Expand Up @@ -328,7 +327,6 @@ macro filter*(q, n: expr): expr {.immediate.} =
else:
raise newException(ValueError, "invalid expression")
result = result.last
echo treeRepr(result)

proc all*[T](q: Query[T]): seq[T] =
## return all results
Expand Down
2 changes: 1 addition & 1 deletion kinto.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Package]
name = "Kinto"
version = "0.2.1"
version = "0.2.2"
author = "Huy Doan"
description = "Kinto Client for Nim"
license = "MIT"
Expand Down

0 comments on commit 503a7a4

Please sign in to comment.