Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support F# code quotations #73

Open
zspitz opened this issue Nov 17, 2020 · 0 comments
Open

Support F# code quotations #73

zspitz opened this issue Nov 17, 2020 · 0 comments

Comments

@zspitz
Copy link
Owner

zspitz commented Nov 17, 2020

https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/code-quotations

Meaning, having an extension method on Expr and Expr<T> which would produce strings in various formats: F# quotationed code, factory methods on Expr, perhaps others.

Can this be done in the existing library? It would mean either

  • extending all the writer/visitors with overloads for Expr, or
  • replacing the current overloads with some kind of adapter interface, which would have separate implementations for expression trees and code quotations.

Having a separate library would mean we couldn't reuse some of the existing writer/visitor functionality..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant