Suppose I wish to define Bool as a type, I would write:
data Bool : Type where
I don't quite understand why I must keep 'where' at the end, what purpose does it play in the Syntax? Why was the above preferred over say:
data Bool : Type
Was this arbitrary or is there some deep logic underlying?
By the way, I am a total noob at programming, so please explain using most simple words.