GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    洪 民憙 (Hong Minhee) (hongminhee@todon.eu)'s status on Wednesday, 04-Oct-2023 08:34:53 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)

    I wish #Haskell had an interactive command-line application library like #Deno's #Cliffy.

    https://cliffy.io/

    In conversation Wednesday, 04-Oct-2023 08:34:53 JST from todon.eu permalink
    • Embed this notice
      glyn (underlap@fosstodon.org)'s status on Wednesday, 04-Oct-2023 17:55:00 JST glyn glyn
      in reply to

      @hongminhee What does Cliffy provide that optparse-applicative doesn't? Presumably some kind of interactive code generation.

      In conversation Wednesday, 04-Oct-2023 17:55:00 JST permalink
    • Embed this notice
      洪 民憙 (Hong Minhee) (hongminhee@todon.eu)'s status on Wednesday, 04-Oct-2023 17:55:00 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)
      in reply to
      • glyn

      @underlap For me, the lack of prompts is the biggest miss, though I find it not to be something applicative-optparse should have. I'd like to see a library that deals with prompts well. The one that comes closest is fortytwo, but it seemingly doesn't support Windows.

      https://cliffy.io/docs@v1.0.0-rc.3/prompt/types/select

      In conversation Wednesday, 04-Oct-2023 17:55:00 JST permalink
    • Embed this notice
      洪 民憙 (Hong Minhee) (hongminhee@todon.eu)'s status on Wednesday, 04-Oct-2023 19:28:02 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)
      in reply to
      • glyn

      @underlap A separate library seems like a better idea. IMHO prompting the user for input in itself seems independent of parsing command line arguments.

      In conversation Wednesday, 04-Oct-2023 19:28:02 JST permalink
    • Embed this notice
      glyn (underlap@fosstodon.org)'s status on Wednesday, 04-Oct-2023 19:28:03 JST glyn glyn
      in reply to

      @hongminhee Would it make sense to create a separate prompt helper library, possibly designed for use with optparse-applicative? What do you think?

      In conversation Wednesday, 04-Oct-2023 19:28:03 JST permalink
    • Embed this notice
      glyn (underlap@fosstodon.org)'s status on Wednesday, 04-Oct-2023 19:29:35 JST glyn glyn
      in reply to

      @hongminhee E.g. are you talking about simply prompting the user for input, or displaying certain information in a prompt, or what exactly?

      In conversation Wednesday, 04-Oct-2023 19:29:35 JST permalink
    • Embed this notice
      glyn (underlap@fosstodon.org)'s status on Wednesday, 04-Oct-2023 19:29:36 JST glyn glyn
      in reply to

      @hongminhee Either way, it would be good to clarify your prompt requirements, so someone else could help provide that feature.

      In conversation Wednesday, 04-Oct-2023 19:29:36 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.