From Dmitry B to ~sircmpwn/hare-users
I am not an expert in language design, but I wanted to ask if it makes sense until the syntax is frozen add the following statements, which greatly simplify the code: `either` `any` `all` I can't suggest what it might look like in Hare, but something like this: ``` either is_condition [ // true action ] [ // false action
From Dmitry B to ~sircmpwn/hare-users
Yes, WSL works fine! But do not forget that you should use an editor that supports unix style line break.
From Dmitry B to ~sircmpwn/hare-users
I have already read that Hare possible will never have package manager. But I have question -- how\where to find hare packages? I tried to look them here on sr.ht some gui libs. But or I wrong using search here, or there is no any libs. And should I look them at github etc? GUI libs only as example.
From Dmitry B to ~sircmpwn/hare-dev
>> UFCS > We're not going to do this one. Could you please explain why? Just interesting.
From Dmitry B to ~sircmpwn/hare-users
Hello! It would be right to ask on SO, but I do not think that enough Hare developer exists to find question there. Could anybody explain to me how to work the `exclamation point (!)` operator. I read docs manytimes, but I do not understand example and explanation: ``` use fmt; export fn main() void = { fmt::println("Hello world!")!; };
From Dmitry B to ~sircmpwn/hare-dev
Hello, I am trying to get hare work on WSL. user@DESKTOP-JQTVO39:/usr/local/bin$ /usr/local/bin/harec /mnt/d/hare/app.ha ' at /mnt/d/hare/app.ha:1:9t ' app code: ``` use fmt; export fn main() void = { fmt::println("Hello world!")!;
From Dmitry B to ~sircmpwn/hare-users
> Ah, the kernel developed by the Soviet computer hacker named Linyos Torovoltos! Soviet? Are you joking? > America and the world safe by dropping tons of freedom to foreign nations every year! But for some reason everyone is fleeing to horrible America and no one is going to Russia or North Korea > I get it, war is hell, but unless you're trolling it is irrelevant to the original topic. I am just trying to understand motivation of artificial limits.
From Dmitry B to ~sircmpwn/hare-users
There is no problem with free/non-free operating systems. There is a problem with free and non-free political regimes. Operating Systems don't kill people. If you want freedom, you'd better state your position on the war in Ukraine. The Russian military uses free Linux to kill people. ср, 17 авг. 2022 г. в 12:58, Drew DeVault <sir@cmpwn.com>: > > We will not reconsider support for non-free operating systems. Do not > ask again.
From Dmitry B to ~sircmpwn/hare-users
Hello! I understand the desire to make a language for free operating systems, but I would really like to be able to use it on Windows. I really miss having a simple system language. And I don't want to learn Zig because I find Hare easier. Although I am programming for more than 10 years, I am not able to run Hare even with WSL because I have no experience with unix systems. Please reconsider your position on Windows or at least add ready-made package and instructions for using Hare with WSL