DevotionGeo

DevotionGeo

What do you use to read Erlang docs?

What do you people do for reading Erlang docs?
Is there something like Ruby’s ri?

I installed manual pages for Erlang under /usr/local/share/man and it works, but entering man erlang shows all the Built-In Functions as one long page and when I press tab after typing man erlang, it asks me if I want to list 22003 items. I don’t think it’s super useful. How do I filter things I need among these many items?

Compare it for example with git’s manual pages. When I press tab after typing man git, it asks me if I want to list 172 items, and when I say yes (press tab again), it shows all the useful things.
How do I use Erlang’s manual pages usefully like that?

Most Liked

Maartz

Maartz

Well as a macOS user, there’s an application which is very good for this and has a plugin with numerous IDE/Text editor: Dash.

Once you’ve downloaded the language doc, for some languages you got access to “docsets”, that’s the case for Elixir/Erlang.

It’s not terminal based, but once downloaded it’s ok to use offline, plus it updates automatically.

IDK if it’s okay to promote something like this here but, since it’s a tool, a cheap one furthermore, I guess there’s no problem.

Maartz

Maartz

I almost forgot to talk about TL;DR, which is a nice terminal based tool, it’s FOSS so you can participate easily.
It’s, you named it, a shorter version of man.
Nice to quickly find something.

DevotionGeo

DevotionGeo

Today I learned that man pages for Erlang are installed by default with the installation of Erlang. You don’t need to install man pages manually, but you need to access it through the erl command with -man flag instead of the man command, for example erl -man lists.
I wish to know how to list all the modules using erl -man command.

Where Next?

Popular Backend topics Top

AstonJ
Thought this video was interesting: What are your thoughts? Any areas you agree/disagree? Which web-dev tech do you think is worth ado...
New
AstonJ
Which server-side languages are you most interested in right now? Anything new or relatively new that’s caught your eye? Maybe an older l...
New
New
DevotionGeo
Some time ago I read somewhere that Rocket will work with stable versions of Rust. The previous version’s changelog says, “Core: Removed...
New
bot
Add sound to your Python game. This is part 13 in an ongoing series about creating video games in Python 3 using the Pygame module. Prev...
New
AstonJ
Consider this Erlang code: Rectangle = {rectangle, 20, 10}. {rectangle, Width, Height} = Rectangle. > Width. 20 > Height. 10 When...
New
Jsdr3398
I really need developers to help create my messaging platform but I’m not sure how much they want etc. I’ve never hired anyone before :s...
New
mafinar
So I was thinking of trying out Crystal, I had tried it multiple times but left it midway. Now that there’s a book on it and it’s version...
New
New
mafinar
Hello folks! We had a pretty fun thread here around the same time last year - talking about Advent of Code problems. That also happened t...
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1032 17402 381
New
AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
Exadra37
On modern versions of macOS, you simply can’t power on your computer, launch a text editor or eBook reader, and write or read, without a ...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New