Skip to content

Instantly share code, notes, and snippets.

@dimitris-papadimitriou-chr
Last active July 6, 2019 22:01
Show Gist options
  • Save dimitris-papadimitriou-chr/1f22256f4feb970c12263b6ba1565973 to your computer and use it in GitHub Desktop.
Save dimitris-papadimitriou-chr/1f22256f4feb970c12263b6ba1565973 to your computer and use it in GitHub Desktop.
Func<int, ILazyComonad<int>> CofreeAna = null;
CofreeAna = n => new LazyCofree(n + 1, new Lazy(() => new IdentiyF(CofreeAna(n + 1))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment