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.

Popular Backend topics Top

PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
pillaiindu
Cross posting from HashNode. A friend of mine is creating Uber-like app for a small company with 200 to 1000 cars. The app will operate ...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
New
mafinar
A friend and I implemented a few algorithms in Dart and set them up in a repository. Thought I’d share it here.
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
joshi
Hey everybody! I’m working on the project that includes import of Oracle data to PostgreSQL. That data comes as Oracle export (expdp) fi...
New
PragmaticBookshelf
This hands-on book will quickly get you building, querying, and comparing graph data models using a robust, concurrent programming langua...
New
PragmaticBookshelf
Create Android applications using Jetpack Compose 1.6, Android Studio, Material Design 3, and the Kotlin programming language. Neil...
New

Other popular topics Top

AstonJ
Or looking forward to? :nerd_face:
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Author Spotlight Erin Dees @undees Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New