Logs: freenode/#haskell
| 2020-10-24 09:37:21 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-24 09:37:58 | → | inkbottle joins (~inkbottle@aaubervilliers-654-1-75-206.w86-212.abo.wanadoo.fr) |
| 2020-10-24 09:38:05 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 240 seconds) |
| 2020-10-24 09:38:05 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-24 09:38:37 | × | zebrag quits (~inkbottle@aaubervilliers-654-1-98-110.w86-212.abo.wanadoo.fr) (Ping timeout: 258 seconds) |
| 2020-10-24 09:43:07 | × | notnatebtw quits (~nate@110.138.18.157) (Quit: WeeChat 2.9) |
| 2020-10-24 09:43:18 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds) |
| 2020-10-24 09:43:48 | → | thir joins (~thir@p200300f27f252300b8898b7d64cc66dd.dip0.t-ipconnect.de) |
| 2020-10-24 09:44:35 | → | acidjnk_new3 joins (~acidjnk@p200300d0c7237865e916a6f62c87a72c.dip0.t-ipconnect.de) |
| 2020-10-24 09:46:29 | → | is_null joins (~jpic@pdpc/supporter/professional/is-null) |
| 2020-10-24 09:48:32 | × | thir quits (~thir@p200300f27f252300b8898b7d64cc66dd.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 2020-10-24 09:59:41 | → | britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch) |
| 2020-10-24 10:01:59 | → | dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) |
| 2020-10-24 10:05:47 | × | chaosmasttter quits (~chaosmast@p200300c4a7138f01d15b56f7610b6e80.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 2020-10-24 10:06:48 | × | dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 256 seconds) |
| 2020-10-24 10:11:37 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 264 seconds) |
| 2020-10-24 10:12:56 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-24 10:16:26 | → | shatriff joins (~vitaliish@176.52.219.10) |
| 2020-10-24 10:27:26 | → | alp joins (~alp@2a01:e0a:58b:4920:11:ee7e:2b2d:85c9) |
| 2020-10-24 10:30:58 | hackage | ukrainian-phonetics-basic 0.1.2.0 - A library to work with the basic Ukrainian phonetics and syllable segmentation. https://hackage.haskell.org/package/ukrainian-phonetics-basic-0.1.2.0 (OleksandrZhabenko) |
| 2020-10-24 10:32:54 | × | britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep) |
| 2020-10-24 10:34:00 | × | shatriff quits (~vitaliish@176.52.219.10) (Remote host closed the connection) |
| 2020-10-24 10:34:59 | × | bitmagie quits (~Thunderbi@200116b80696a200e9f8d5f03ffadb0f.dip.versatel-1u1.de) (Quit: bitmagie) |
| 2020-10-24 10:35:47 | → | britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch) |
| 2020-10-24 10:35:54 | × | christo quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2020-10-24 10:36:03 | → | darjeeling_ joins (~darjeelin@122.245.123.118) |
| 2020-10-24 10:39:55 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-24 10:40:25 | × | CMCDragonkai1 quits (~Thunderbi@124.19.3.250) (Ping timeout: 240 seconds) |
| 2020-10-24 10:42:26 | × | polyrain quits (~polyrain@2001:8003:e501:6901:513b:72e6:ceb8:fd2e) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-24 10:43:03 | → | polyrain joins (~polyrain@58.161.83.164) |
| 2020-10-24 10:44:05 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-10-24 10:47:41 | × | alp quits (~alp@2a01:e0a:58b:4920:11:ee7e:2b2d:85c9) (Ping timeout: 272 seconds) |
| 2020-10-24 10:48:24 | × | britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep) |
| 2020-10-24 10:49:26 | → | moy joins (5a319fdb@lfbn-nan-1-68-219.w90-49.abo.wanadoo.fr) |
| 2020-10-24 10:49:43 | × | Maxdamantus quits (~Maxdamant@unaffiliated/maxdamantus) (Ping timeout: 246 seconds) |
| 2020-10-24 10:49:51 | moy | is now known as Guest54698 |
| 2020-10-24 10:50:11 | <Guest54698> | Hello o/ I have very basic questions about Haskell arrays, but i kind find the answer on the internet... Is there any simple guide about basic usage of arrays in haskells ? |
| 2020-10-24 10:50:28 | <Guest54698> | (my questions are for exemple, how to get an array length, how to append an item into an array, etc...) |
| 2020-10-24 10:50:30 | → | afwingnut joins (~af_wingnu@ip174-79-2-139.mc.at.cox.net) |
| 2020-10-24 10:50:47 | <Guest54698> | can't find* |
| 2020-10-24 10:50:48 | → | ClaudiusMaximus joins (~claude@198.123.199.146.dyn.plus.net) |
| 2020-10-24 10:50:48 | × | ClaudiusMaximus quits (~claude@198.123.199.146.dyn.plus.net) (Changing host) |
| 2020-10-24 10:50:48 | → | ClaudiusMaximus joins (~claude@unaffiliated/claudiusmaximus) |
| 2020-10-24 10:51:26 | ← | afwingnut parts (~af_wingnu@ip174-79-2-139.mc.at.cox.net) () |
| 2020-10-24 10:51:35 | <Guest54698> | (im talking about actual Arrays, indexed list, List are pretty easy to apprehend until now) |
| 2020-10-24 10:51:38 | → | Maxdamantus joins (~Maxdamant@unaffiliated/maxdamantus) |
| 2020-10-24 10:52:05 | <Rembane> | Guest54698: From which module do you import your arrays? |
| 2020-10-24 10:53:12 | <Guest54698> | Data.Array for now, but i have no restrictions about it |
| 2020-10-24 10:53:40 | <Guest54698> | if there is a better/more modern implementation |
| 2020-10-24 10:55:28 | <Rembane> | Guest54698: Data.Vector has a much nicer API in my opinion. https://hackage.haskell.org/package/vector-0.12.1.2 |
| 2020-10-24 10:56:44 | <Guest54698> | im expecting to use string as indexes, not int |
| 2020-10-24 10:56:59 | <Guest54698> | but i will check the vector API for another usage for sure, didnt know about it |
| 2020-10-24 11:03:22 | × | xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 246 seconds) |
| 2020-10-24 11:03:32 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds) |
| 2020-10-24 11:04:54 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-24 11:06:45 | → | Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas) |
| 2020-10-24 11:11:39 | → | __monty__ joins (~toonn@unaffiliated/toonn) |
| 2020-10-24 11:12:15 | <Guest54698> | i would like to have a list of entities indexed by their string ids |
| 2020-10-24 11:14:27 | × | Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Remote host closed the connection) |
| 2020-10-24 11:15:36 | → | Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas) |
| 2020-10-24 11:19:06 | → | DavidEichmann joins (~david@43.240.198.146.dyn.plus.net) |
| 2020-10-24 11:19:32 | × | xff0x quits (~fox@2001:1a81:5355:300:5f2f:52e1:2071:f783) (Ping timeout: 260 seconds) |
| 2020-10-24 11:20:24 | → | xff0x joins (~fox@2001:1a81:5355:300:36b0:bb39:8493:75d8) |
| 2020-10-24 11:20:59 | → | merby joins (~ilgaz@176.43.211.208) |
| 2020-10-24 11:21:22 | <merby> | hello |
| 2020-10-24 11:22:13 | <Uniaika> | heya |
| 2020-10-24 11:22:54 | <merby> | first time joining #haskell, seems great! |
| 2020-10-24 11:24:02 | → | Deide joins (~Deide@217.155.19.23) |
| 2020-10-24 11:26:38 | <__monty__> | 't is, merby, 't is. |
| 2020-10-24 11:30:26 | → | alp joins (~alp@2a01:e0a:58b:4920:dcdd:3edb:3a8b:e055) |
| 2020-10-24 11:31:07 | <nitrix> | merby, The channel can get pretty busy during the day, but that shouldn't discourage you from asking questions :) |
| 2020-10-24 11:32:04 | <merijn> | Guest54698: Don't you just want a Map, then? |
| 2020-10-24 11:32:48 | <merijn> | Guest54698: Data.Map from containers would be the equivalent of python dictionaries/C++'s std::map and probably what you want with string indices :) |
| 2020-10-24 11:35:18 | × | MindlessDrone quits (~MindlessD@unaffiliated/mindlessdrone) (Ping timeout: 260 seconds) |
| 2020-10-24 11:37:10 | → | MindlessDrone joins (~MindlessD@unaffiliated/mindlessdrone) |
| 2020-10-24 11:38:03 | × | merby quits (~ilgaz@176.43.211.208) (Quit: leaving) |
| 2020-10-24 11:46:10 | → | texasmynsted joins (~texasmyns@62.182.99.148) |
| 2020-10-24 11:49:02 | × | rprije quits (~rprije@194-193-168-77.tpgi.com.au) (Ping timeout: 260 seconds) |
| 2020-10-24 11:49:48 | × | Quarl quits (~Quarl@94.191.136.110.mobile.tre.se) (Quit: Leaving.) |
| 2020-10-24 11:50:20 | → | knupfer1 joins (~Thunderbi@i59F7FF06.versanet.de) |
| 2020-10-24 11:50:23 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:3075:fc1b:a06c:a2b3) (Ping timeout: 272 seconds) |
| 2020-10-24 11:50:48 | → | geekosaur joins (ac3a3ed7@172.58.62.215) |
| 2020-10-24 11:51:54 | → | wei2912 joins (~wei2912@unaffiliated/wei2912) |
| 2020-10-24 11:54:11 | × | alp quits (~alp@2a01:e0a:58b:4920:dcdd:3edb:3a8b:e055) (Ping timeout: 272 seconds) |
| 2020-10-24 11:59:07 | × | texasmynsted quits (~texasmyns@62.182.99.148) (Remote host closed the connection) |
| 2020-10-24 11:59:47 | → | djellemah joins (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54) |
| 2020-10-24 11:59:54 | → | texasmynsted joins (~texasmyns@62.182.99.148) |
| 2020-10-24 12:00:01 | × | ericholscher quits (~ericholsc@185.163.110.116) () |
| 2020-10-24 12:02:17 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:551f:7c48:a755:a572) |
| 2020-10-24 12:02:48 | → | dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) |
| 2020-10-24 12:04:49 | × | texasmynsted quits (~texasmyns@62.182.99.148) (Ping timeout: 265 seconds) |
| 2020-10-24 12:05:36 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2020-10-24 12:05:44 | <Guest54698> | merijn it seems that its exactly what i needed indeed :o thank you. For information. haskell array can be indexed with any kind of value right ? Im a bit confused about it now. |
| 2020-10-24 12:06:55 | <merijn> | Guest54698: The Array type from Data.Array supports indexing via any type that has an Ix class, so while you *can* theoretically index it using String, but it's not really designed for that |
| 2020-10-24 12:07:25 | × | dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 240 seconds) |
| 2020-10-24 12:07:26 | <merijn> | Array is mostly designed for numeric indices (or tuples of numbers) |
| 2020-10-24 12:07:52 | × | knupfer1 quits (~Thunderbi@i59F7FF06.versanet.de) (Ping timeout: 260 seconds) |
| 2020-10-24 12:08:22 | → | ech joins (~user@gateway/tor-sasl/ech) |
| 2020-10-24 12:08:42 | <merijn> | Guest54698: Meanwhile Map is a more traditional "lookup key value pairs" kinda data structure (as I said, comparable to python dictionaries and C++'s std::map) |
| 2020-10-24 12:09:17 | <merijn> | Guest54698: Although some of the dynamic languages mix these things together and call map/dictionary data structures "arrays" too and allow indexing them by non-numbers, which confuses things even more :p |
All times are in UTC.