The data abstraction mechanism of Miranda may be adapted to a dynamically typed programming language by applying ideas from gradual typing.