{"action":"created","issue":{"url":"https://api.github.com/repos/bitemyapp/bloodhound/issues/111","repository_url":"https://api.github.com/repos/bitemyapp/bloodhound","labels_url":"https://api.github.com/repos/bitemyapp/bloodhound/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/bitemyapp/bloodhound/issues/111/comments","events_url":"https://api.github.com/repos/bitemyapp/bloodhound/issues/111/events","html_url":"https://github.com/bitemyapp/bloodhound/issues/111","id":137656646,"number":111,"title":"post-Aeson disaster release","user":{"login":"bitemyapp","id":320177,"avatar_url":"https://avatars.githubusercontent.com/u/320177?v=3","gravatar_id":"","url":"https://api.github.com/users/bitemyapp","html_url":"https://github.com/bitemyapp","followers_url":"https://api.github.com/users/bitemyapp/followers","following_url":"https://api.github.com/users/bitemyapp/following{/other_user}","gists_url":"https://api.github.com/users/bitemyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bitemyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitemyapp/subscriptions","organizations_url":"https://api.github.com/users/bitemyapp/orgs","repos_url":"https://api.github.com/users/bitemyapp/repos","events_url":"https://api.github.com/users/bitemyapp/events{/privacy}","received_events_url":"https://api.github.com/users/bitemyapp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-01T18:58:47Z","updated_at":"2016-03-03T16:22:27Z","closed_at":null,"body":"```\r\n$ stack test bloodhound:doctests\r\nbloodhound-0.10.0.0: unregistering (local file changes: src/Database/Bloodhound/Types.hs)\r\nbloodhound-0.10.0.0: build (lib + test)\r\nPreprocessing library bloodhound-0.10.0.0...\r\n[3 of 5] Compiling Database.Bloodhound.Types ( src/Database/Bloodhound/Types.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Database/Bloodhound/Types.o )\r\nIn-place registering bloodhound-0.10.0.0...\r\nPreprocessing test suite 'doctests' for bloodhound-0.10.0.0...\r\nbloodhound-0.10.0.0: copy/register\r\nInstalling library in\r\n/home/callen/work/bloodhound/.stack-work/install/x86_64-linux/lts-5.1/7.10.3/lib/x86_64-linux-ghc-7.10.3/bloodhound-0.10.0.0-5u94YzqKDWx4wX2dRohqIF\r\nRegistering bloodhound-0.10.0.0...\r\nbloodhound-0.10.0.0: test (suite: doctests)\r\n             \r\n\r\nsrc/Database/Bloodhound/Types.hs:2099:34:\r\n    No instance for (ToJSON (NonEmpty Text)) arising from a use of ‘.=’\r\n    In the expression: fieldName .= terms\r\n    In the expression: [fieldName .= terms]\r\n    In an equation for ‘conjoined’: conjoined = [fieldName .= terms]\r\n\r\nsrc/Database/Bloodhound/Types.hs:2266:32:\r\n    No instance for (ToJSON (NonEmpty SimpleQueryFlag))\r\n      arising from a use of ‘.=’\r\n    In the expression: \"flags\" .= simpleQueryStringFlags\r\n    In the expression:\r\n      [\"fields\" .= simpleQueryStringField,\r\n       \"default_operator\" .= simpleQueryStringOperator,\r\n       \"analyzer\" .= simpleQueryStringAnalyzer,\r\n       \"flags\" .= simpleQueryStringFlags, ....]\r\n    In an equation for ‘maybeAdd’:\r\n        maybeAdd\r\n          = [\"fields\" .= simpleQueryStringField,\r\n             \"default_operator\" .= simpleQueryStringOperator,\r\n             \"analyzer\" .= simpleQueryStringAnalyzer, ....]\r\n\r\nsrc/Database/Bloodhound/Types.hs:2286:5:\r\n    No instance for (ToJSON (NonEmpty FieldName))\r\n      arising from a use of ‘toJSON’\r\n    In the expression: toJSON fieldNames\r\n    In an equation for ‘toJSON’:\r\n        toJSON (FofFields fieldNames) = toJSON fieldNames\r\n    In the instance declaration for ‘ToJSON FieldOrFields’\r\n\r\nsrc/Database/Bloodhound/Types.hs:2470:33:\r\n    No instance for (ToJSON (NonEmpty StopWord))\r\n      arising from a use of ‘.=’\r\n    In the expression: \"stop_words\" .= stopwords\r\n    In the expression:\r\n      [\"like_text\" .= text, \"percent_terms_to_match\" .= percent,\r\n       \"min_term_freq\" .= mtf, \"max_query_terms\" .= mqt, ....]\r\n    In an equation for ‘base’:\r\n        base\r\n          = [\"like_text\" .= text, \"percent_terms_to_match\" .= percent,\r\n             \"min_term_freq\" .= mtf, ....]\r\n\r\nsrc/Database/Bloodhound/Types.hs:2489:27:\r\n    No instance for (FromJSON (NonEmpty StopWord))\r\n      arising from a use of ‘.:?’\r\n    In the second argument of ‘(<*>)’, namely ‘o .:? \"stop_words\"’\r\n    In the first argument of ‘(<*>)’, namely\r\n      ‘MoreLikeThisFieldQuery <$> o .: \"like_text\" <*> pure fn\r\n       <*> o .:? \"percent_terms_to_match\"\r\n       <*> o .:? \"min_term_freq\"\r\n       <*> o .:? \"max_query_terms\"\r\n       <*> o .:? \"stop_words\"’\r\n    In the first argument of ‘(<*>)’, namely\r\n      ‘MoreLikeThisFieldQuery <$> o .: \"like_text\" <*> pure fn\r\n       <*> o .:? \"percent_terms_to_match\"\r\n       <*> o .:? \"min_term_freq\"\r\n       <*> o .:? \"max_query_terms\"\r\n       <*> o .:? \"stop_words\"\r\n       <*> o .:? \"min_doc_freq\"’\r\n\r\nsrc/Database/Bloodhound/Types.hs:2505:29:\r\n    No instance for (ToJSON (NonEmpty FieldName))\r\n      arising from a use of ‘.=’\r\n    In the expression: \"fields\" .= fields\r\n    In the expression:\r\n      [\"like_text\" .= text, \"fields\" .= fields,\r\n       \"percent_terms_to_match\" .= percent, \"min_term_freq\" .= mtf, ....]\r\n    In an equation for ‘base’:\r\n        base\r\n          = [\"like_text\" .= text, \"fields\" .= fields,\r\n             \"percent_terms_to_match\" .= percent, ....]\r\n\r\nsrc/Database/Bloodhound/Types.hs:2509:33:\r\n    No instance for (ToJSON (NonEmpty StopWord))\r\n      arising from a use of ‘.=’\r\n    In the expression: \"stop_words\" .= stopwords\r\n    In the expression:\r\n      [\"like_text\" .= text, \"fields\" .= fields,\r\n       \"percent_terms_to_match\" .= percent, \"min_term_freq\" .= mtf, ....]\r\n    In an equation for ‘base’:\r\n        base\r\n          = [\"like_text\" .= text, \"fields\" .= fields,\r\n             \"percent_terms_to_match\" .= percent, ....]\r\n\r\nsrc/Database/Bloodhound/Types.hs:2523:27:\r\n    No instance for (FromJSON (NonEmpty FieldName))\r\n      arising from a use of ‘.:?’\r\n    In the second argument of ‘(<*>)’, namely ‘o .:? \"fields\"’\r\n    In the first argument of ‘(<*>)’, namely\r\n      ‘MoreLikeThisQuery <$> o .: \"like_text\" <*> o .:? \"fields\"’\r\n    In the first argument of ‘(<*>)’, namely\r\n      ‘MoreLikeThisQuery <$> o .: \"like_text\" <*> o .:? \"fields\"\r\n       <*> o .:? \"percent_terms_to_match\"’\r\n\r\nsrc/Database/Bloodhound/Types.hs:2528:27:\r\n    No instance for (FromJSON (NonEmpty StopWord))\r\n      arising from a use of ‘.:?’\r\n    In the second argument of ‘(<*>)’, namely ‘o .:? \"stop_words\"’\r\n    In the first argument of ‘(<*>)’, namely\r\n      ‘MoreLikeThisQuery <$> o .: \"like_text\" <*> o .:? \"fields\"\r\n       <*> o .:? \"percent_terms_to_match\"\r\n       <*> o .:? \"min_term_freq\"\r\n       <*> o .:? \"max_query_terms\"\r\n       <*> o .:? \"stop_words\"’\r\n    In the first argument of ‘(<*>)’, namely\r\n      ‘MoreLikeThisQuery <$> o .: \"like_text\" <*> o .:? \"fields\"\r\n       <*> o .:? \"percent_terms_to_match\"\r\n       <*> o .:? \"min_term_freq\"\r\n       <*> o .:? \"max_query_terms\"\r\n       <*> o .:? \"stop_words\"\r\n       <*> o .:? \"min_doc_freq\"’\r\n```\r\n\r\n/cc @MichaelXavier @MHova @crough this is where I'm at on things. Not sure why doctests is fucking me over, build and unit tests pass fine rn.\r\n\r\n```\r\nFinished in 21.2762 seconds\r\n171 examples, 0 failures\r\n```\r\n\r\nIf anyone has ideas, please pipe up. I don't know why doctests is making this unpleasant."},"comment":{"url":"https://api.github.com/repos/bitemyapp/bloodhound/issues/comments/191835973","html_url":"https://github.com/bitemyapp/bloodhound/issues/111#issuecomment-191835973","issue_url":"https://api.github.com/repos/bitemyapp/bloodhound/issues/111","id":191835973,"user":{"login":"MHova","id":5972021,"avatar_url":"https://avatars.githubusercontent.com/u/5972021?v=3","gravatar_id":"","url":"https://api.github.com/users/MHova","html_url":"https://github.com/MHova","followers_url":"https://api.github.com/users/MHova/followers","following_url":"https://api.github.com/users/MHova/following{/other_user}","gists_url":"https://api.github.com/users/MHova/gists{/gist_id}","starred_url":"https://api.github.com/users/MHova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MHova/subscriptions","organizations_url":"https://api.github.com/users/MHova/orgs","repos_url":"https://api.github.com/users/MHova/repos","events_url":"https://api.github.com/users/MHova/events{/privacy}","received_events_url":"https://api.github.com/users/MHova/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T16:22:27Z","updated_at":"2016-03-03T16:22:27Z","body":"https://travis-ci.org/bitemyapp/bloodhound/builds/113344981\r\n\r\n![happy-everything-went-better-than-expected](https://cloud.githubusercontent.com/assets/5972021/13500815/08c40a24-e119-11e5-95d6-ca8a2249aaee.jpg)\r\n"}}