I need to create a function f:: Log->[String] that does that (((o, i ,d),s) = [(o, i ,d)]
f:: Log->[String]
(((o, i ,d),s) = [(o, i ,d)]
type Log = (Plate, [String])
type Plate = (Pin, Pin, Pin) type Pin = (Char, Int)
type Plate = (Pin, Pin, Pin)
type Pin = (Char, Int)
g :: Log -> [String] g (plate, _) = [show plate]