Skip to content

Instantly share code, notes, and snippets.

@dakrone
Created May 13, 2010 19:50
Show Gist options
  • Select an option

  • Save dakrone/400369 to your computer and use it in GitHub Desktop.

Select an option

Save dakrone/400369 to your computer and use it in GitHub Desktop.
(ns seed-example
(:use [clomoios.contextsearcher :as cs])
(:use [clomoios.seededcontextsearcher :as scs])
(:use [clojure.contrib.pprint :only [pprint]]))
; Both contextsearcher and seededcontextsearcher have different protocols that both have 'score' and 'rank' methods
;‹ ~/src/clj/clomoios › ∴ clj examples/ford/seed-example.clj
;WARNING: score already refers to: #'clomoios.contextsearcher/score in namespace: seed-example, being replaced by: #'clomoios.seededcontextsearcher/score
;WARNING: rank already refers to: #'clomoios.contextsearcher/rank in namespace: seed-example, being replaced by: #'clomoios.seededcontextsearcher/rank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment