Game of Thrones - I

  • + 0 comments

    Without using sets (and in Haskell, not Python):

    isAnaPalin = bool "YES" "NO" . (>1) . length . filter id . map (odd . length) . group . sort
    

    I'm sure it's possible to do a lot better than that though.