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

purity of show -- show implementation is culture-sensitive at the moment #26

Open
alaendle opened this issue Oct 23, 2018 · 0 comments
Open

Comments

@alaendle
Copy link

printLn $ show 4.2

might lead to 4.2 or 4,2, depending on the current culture on which the dotnet code is executed. While this is .net default behavior of .ToString(), I'm not sure if this should be fixed with CultureInfo.InvariantCulture; maybe some code would already expect the .net default here; while on the other hand from an Idris point of view show should be pure.

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