-
Notifications
You must be signed in to change notification settings - Fork 186
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
Displaying function body #44
Labels
Comments
It is how In[1]: a = -> a |
So can I add to iJavascript automatically toString application if inspect return [Function ***] ? |
It's more complicated than that. What output would you like for |
Plain js would be preferred. |
n-riesco
added a commit
to n-riesco/jp-babel
that referenced
this issue
Oct 10, 2015
* Previously, the output representation of functions was formatted as "[Function: name]". This output was generated using `util.inspect()` in Node.js. * Now, the output is generated using the method `Function#toString()` in the Javascript standard library. This output is the Javascript representation of the function. * The same change has been applied to inspect requests (shift-TAB). Fixes n-riesco/ijavascript#44
n-riesco
added a commit
to n-riesco/jp-coffeescript
that referenced
this issue
Oct 10, 2015
* Previously, the output representation of functions was formatted as "[Function: name]". This output was generated using `util.inspect()` in Node.js. * Now, the output is generated using the method `Function#toString()` in the Javascript standard library. This output is the Javascript representation of the function. * The same change has been applied to inspect requests (shift-TAB). Fixes n-riesco/ijavascript#44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recently switched to your kernel from notablemind's one.
And what I miss for is displaying body of function. I think this is by design but why?
and not just [Function a] which is more expected by design of javascript, but meaningless a bit too.
This is quite helpful when you write something functional, composed from small pieces.
The text was updated successfully, but these errors were encountered: