I'm looking forward to your work on @typeclasses - good luck.
-
-
-
thank you
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Hurray! One quick nitpick: the python example you used for QuickCheck is using the "pytest" framework, not the default unittest library, which I think is worth mentioning in the article just for explicitness.
-
The unittest docs actually recommend people use pytest (long story) but it's still a separate package you have to download
-
I'm pretty sure I didn't use pytest though? I just ran it in the REPL
-
Huh, didn't know that worked. TIL!
-
``assert`` is a regular keyword. The reason why it's not recommended to use it in unittest-driven tests is that unittest won't be able to log details about the failure (it won't introspect the boolean statement, so all you have is AssertionError but no left/right values).
-
In the QuickCheck example, it doesn't matter as much because given decorator logs input value of x anyway, and it's rather easy to deduce x * 2 from it too. In other context, it may be hard [or impossible] to deduce left/right values that trigger a failure.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Psst you cluing me on Scotty led me to Spock which lead to prod Haskell.
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
I love those. Thanks!
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
This is great! Inspired esp. by your pedagogical decision to quietly lift stopwatch to `(x → IO y) → x → IO y` from `IO x → IO x`.
-
STOPWATCHES FOR THE STOPWATCH QUEEN
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।