Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
avoid comparing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjbray committed Dec 19, 2015
1 parent c376cf9 commit 0b55e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submissions/mattjbray/src/Main.elm
Expand Up @@ -381,7 +381,7 @@ adjustPos pos oldScrollPos newScrollPos =

removeRequest : JediRequest -> List JediRequest -> List JediRequest
removeRequest request requests =
List.filter (\ r -> r /= request) requests
List.filter (\ r -> r.id /= request.id) requests


haveJediAt : Int -> Model -> Bool
Expand Down

0 comments on commit 0b55e96

Please sign in to comment.