Advertisement
Guest User

Untitled

a guest
May 13th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.50 KB | None | 0 0
  1. let notContainsTuple (b,g,f) list = not (List.exists ((=) b) list)
  2.  
  3. let notContainsList x list = not (List.exists ((=) x) list)
  4.  
  5. let adjacentBoards = List.filter (fun elem ->
  6.                                                  (notContainsList elem CS) && (notContainsTuple elem removedCurrent)) (neighbors currentBoard zeroInd) // it seems from this it sees CS as a ((int[,]*int*int)*'a*b) even tho it should just be a int[,] list. and it sees (neighbors ...) as ('a*'b*'c) when it should be a int[,] list aswell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement