Some incomplete idris code