diff --git a/Interfaces.md b/Interfaces.md new file mode 100644 index 0000000..8246e6d --- /dev/null +++ b/Interfaces.md @@ -0,0 +1,15 @@ +Interfaces in ARF are like interfaces in Go, that is to say, their methods are +defined and any object that has at least those methods can fulfill that +interface. + +They are defined like this: + +``` +face ro ReadWriter + read + > into:{Byte ..} + < amountRead:Size + write + > buffer{Byte ..} + < amountWrote:Size +``` \ No newline at end of file