-
Notifications
You must be signed in to change notification settings - Fork 28
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
Make Debug.log print in Elm format rather than Elixir format #238
Comments
Hey @wende I just discover Elchemy and I'm completely stocked at the idea of using Elm to build app on top of Erlang. I'd like to start getting familiar with the project and contribute. I've took a look at this issue and I'm not certain what needs to be done. I found the log function in If you can clarify what I'm missing, that would be great. Thanks |
@dstpierre Glad to hear that! The difference is right now, that when you call Debug.log, the printout you see is the underlying Elixir format rather than the Elchemy (Elm) format. So if you were to do MyType 1 2 "String" |> Debug.log "MyLog" instead of getting:
what you'd get would be:
Which is the real underlying structure, which - although helpful for debugging in some situations - might be tricky and painful to adjust to when expecting to be able to reason in the structures as you write them |
…mat (#325) * tests for format * core-modified
================ * Closes #276 macro plugins (#331) * Update elm-package.json * Bug: Closes #327 (#328) * Closes #329 - Warn when elchemy not installed during project compilation (#330) * Closes #238 - Debug.log print in Elchemy format instead of Elixir format (#325) * Closes #322 Warn when elchemy line put incorrectly (#323) * Update README.md (#320) * correct typos (#318) * type savety and Elixir (#310) * Closes #313 Fixes interop in gitbook and new gitbbok (#317) * Corrected typo, set Compiler to 90% (#314) * Corrected typo (#306) * Corrected typos (#307) * correct typo (#308) * Delete FEATURES.MD * Create CODE_OF_CONDUCT.md (#304) * Typo in gitbook (#305) * 0.6.6 / 2018-03-05 ================ * 0.6.6 * format properly * 0.6.5 / 2018-03-05 ================ * 0.6.5 * format when > 1.6.0 (#300) * Update README.md * Better references in maturity of the project summary * Update SIDE_EFFECTS.md * Update SUMMARY.md * Update SUMMARY.md * Add SYNTAX OVERVIEW * Create SYNTAX.md * Fix to 292 (#293) * Closes #290 - incremental compiler bug (#291) * 0.6.4 / 2018-02-07 ================ * 0.6.4 * Updated core
================ * Clean makes init not able to work (#341) * No project name (#339) * Correct typos in roadmap/STRUCTURES.md (#319) * Added formating and test (#337) * 0.7.2 / 2018-05-16 ================ * 0.7.2 * Closes #276 macro plugins (#331) * Update elm-package.json * Bug: Closes #327 (#328) * Closes #329 - Warn when elchemy not installed during project compilation (#330) * Closes #238 - Debug.log print in Elchemy format instead of Elixir format (#325) * Closes #322 Warn when elchemy line put incorrectly (#323) * Update README.md (#320) * correct typos (#318) * type savety and Elixir (#310) * Closes #313 Fixes interop in gitbook and new gitbbok (#317) * Corrected typo, set Compiler to 90% (#314) * Corrected typo (#306) * Corrected typos (#307) * correct typo (#308) * Delete FEATURES.MD * Create CODE_OF_CONDUCT.md (#304) * Typo in gitbook (#305) * 0.6.6 / 2018-03-05 ================ * 0.6.6 * format properly * 0.6.5 / 2018-03-05 ================ * 0.6.5 * format when > 1.6.0 (#300) * Update README.md * Better references in maturity of the project summary * Update SIDE_EFFECTS.md * Update SUMMARY.md * Update SUMMARY.md * Add SYNTAX OVERVIEW * Create SYNTAX.md * Fix to 292 (#293) * Closes #290 - incremental compiler bug (#291) * 0.6.4 / 2018-02-07 ================ * 0.6.4 * Updated core
No description provided.
The text was updated successfully, but these errors were encountered: