Using a user defined type
Hello guys, I'm defining a a type to represent a board of my game: type Position = (int * Piece) list But when I create a list like this: let board1 = [(1,Piece.BLACK);(2,Piece.WHITE);(3,Piece.BLACK);(4,Piece.WHITE); ...] I create a list of (int * Piece) list, not a Position. How can I change this? Which is the...