Questions tagged [arrows]

Arrows are a means of modeling computational effects that are more general and less powerful than Monads.

Arrows can express relationships between nodes in a graph (a tree is a type of graph).

Arrows can be primitives in computer graphics.

In some programming languages, arrow symbols like -> and => are syntax with specific meaning.

335 questions
0
votes
1 answer

Jssor List Slider - Add Arrows

I am unsuccessfully trying to add arrows above and below the thumbnail & text list controls on the right side. There is not an example for this in the full pack. Any suggestions would be greatly appreciated.
0
votes
1 answer

Matplotlib - Separate colours for individual arrows

I am creating a series of xyz arrows and generating a series of pictures. How do make one red, one blue and the other green? My code used is below. import numpy as np from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D from…
Sam
  • 1,052
  • 4
  • 13
  • 33
0
votes
1 answer

Favourite Joomla Template hide arrows

I am building a web site using Favourite Joompla template. http://favthemes.com/tutorials-developers I also use videobox extension insert videos and image gallery for images The problem is that i cannot seem to be able to remove the arrows that…
user2713459
  • 49
  • 2
  • 5
0
votes
1 answer

responsive banner with responsive next/back arrows over the top

I want to create a simple 4 slide banner which is 100% width & responsive with 4 responsive buttons underneath to switch between slides, but also as an addition arrows on either side of the banner to jump back and forth between the previous and next…
Chobbit
  • 461
  • 4
  • 14
0
votes
1 answer

Jssor slider Transitions fade in and fade out the 2 arrow

i have Jssor Slider , i want to make the 2 arrows left and right appear and display with fadein and fadeout - when mouse over the 2 arrow fadein - when mouse out the 2 arrows fadeout any suggestion thanks
Nabil Hamed
  • 19
  • 1
  • 1
0
votes
2 answers

Why can I not make a (Functor f) => ConcreteType -> f String into an instance Functor ((->) ConcreteType)?

The way I have my types constructed, I believe this would follow the Functor law which states that there should be an identity function for which fmap returns the original functor. Code: -- apply a style function to a shell prompt functor -- e.g. --…
josiah
  • 1,314
  • 1
  • 13
  • 33
0
votes
1 answer

three columns gallery with switching images

I am new here. Not so experienced with coding so please take it easy on me ;) The only thing I can't make working is the image gallery displayed in three different columns. If I copy paste everything from first column (I only change background…
sara
  • 1
  • 1
0
votes
2 answers

Arrows only for rangeSelector in HighCharts

Is it possible to only have the left and right arrows for the rangeSelector when using HighCharts? I actually don't want the rangeSelector, just the functionality of the arrows on the scrollbar. I can't find anything within the docs.
SReca
  • 643
  • 3
  • 13
  • 37
0
votes
1 answer

JSSOR Navigation Arrows Not Working in Safari or Chrome

My slider seems to work perfect in Firefox, however, when viewing the slider is Chrome or Safari, the navigation arrow do not work correctly in that they do not go to the next slide. This slide show is full screen and responsive. You can see the…
0
votes
1 answer

Carousel-Arrows change their color, depending on the picture displayed?

How can I make the Carousel-Arrows changing their colors, depending on the picture displayed beneath them? For example, if I have a bright picture, arrows are black; when I have a dark Picture, arrows are white. Here is an example of the effect:…
JasperBE
  • 3
  • 2
0
votes
1 answer

Infinite loop when implementing "zero or more" in Haskell Arrow parser

I am learning how to use arrows in Haskell and have implemented the following parser. All tests work fine except for the last two tests: test (pZeroOrMore pDigit) "x123abc" test (pZeroOrMore pDigit) "123abc" Those tests get stuck in an infinite…
mbrodersen
  • 787
  • 4
  • 17
0
votes
1 answer

Simple example of monad and arrow with code in Python or JavaScript?

Say we have the following two functions : getTweetsForUser( handle, callback ) And expandShortLink ( stringHasLink, callback ) Please show how we would compose these with: A monad and An arrow Assume the functions do not have side effects and…
Cris
  • 441
  • 3
  • 11
0
votes
1 answer

Wiring/ArrowLooping every element in a list with every other element in the list

I asked a question about this earlier but I don't think I really knew what I was asking. I think I understand my problem slightly better now. I'm using netwire, an arrowized FRP library, and having some trouble getting this arrowloop implemented. I…
Justin L.
  • 13,510
  • 5
  • 48
  • 83
0
votes
2 answers

R: help needed improving a function for changing arrow colours from starting point to end point

I have the following function in R that draws arrows changing colours: require(plotrix) color.scale.arrow = function(x1,y1,x2,y2,first.col,second.col, lwd= par('lwd'),lty=par('lty'),angle=30,length=0.25) { x=mapply(seq,x1,x2,length.out=256) #…
Abdel
  • 5,826
  • 12
  • 56
  • 77
-1
votes
1 answer

Kotlin Arrow make piece of code functional

I am having trouble refactoring this function here. How can I make it functional, in a way that instead of nested when-is you have sequential mappings/aggregations of LEFT=ErrorCodes? And if I wanted to add a try-catch-block to it, how would I make…
Phil
  • 7,065
  • 8
  • 49
  • 91
1 2 3
22
23